add download to issued cert
This commit is contained in:
@@ -12,9 +12,8 @@ meili_client = Meilisearch('http://127.0.0.1:7700')
|
||||
|
||||
|
||||
JSONL_FILES = (
|
||||
# 'test-orders.jsonl',
|
||||
'test-users.jsonl',
|
||||
# 'test-enrollments.jsonl',
|
||||
'test-enrollments.jsonl',
|
||||
'test-courses.jsonl',
|
||||
)
|
||||
|
||||
@@ -63,6 +62,7 @@ if __name__ == '__main__':
|
||||
reader = jsonlines.Reader(fp).iter(skip_invalid=True)
|
||||
|
||||
for line in tqdm(reader, desc=f'Processing lines in {file}'):
|
||||
print(table_name, line)
|
||||
put_item(line, table_name, dynamodb_client) # type: ignore
|
||||
|
||||
# Scan DynamoDB tables and index the data into Meilisearch
|
||||
|
||||
Reference in New Issue
Block a user