update
This commit is contained in:
@@ -92,6 +92,7 @@ if __name__ == '__main__':
|
||||
for file in tqdm(jsonl_files, desc='Processing files'):
|
||||
with jsonlines.open(f'seeds/{file}') as lines:
|
||||
table_name = file.removesuffix('.jsonl')
|
||||
reader = jsonlines.Reader(fp)
|
||||
|
||||
for line in tqdm(lines, desc=f'Processing lines in {file}'):
|
||||
put_item(line, table_name, dynamodb_client)
|
||||
|
||||
Reference in New Issue
Block a user