Skip to content

Commit 7fbd13b

Browse files
committed
spotless
1 parent eaca17d commit 7fbd13b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sdks/python/apache_beam/io/gcp/bigquery_file_loads.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ def _bq_uuid(seed=None):
170170
else:
171171
return str(hashlib.md5(seed.encode('utf8')).hexdigest())
172172

173+
173174
def _bq_uuid_list(list):
174175
checksum = hashlib.sha256()
175176
for item in list:
@@ -178,6 +179,7 @@ def _bq_uuid_list(list):
178179
checksum.update(b'\x00')
179180
return checksum.hexdigest()
180181

182+
181183
class _ShardDestinations(beam.DoFn):
182184
"""Adds a shard number to the key of the KV element.
183185

0 commit comments

Comments
 (0)