add download to issued cert

This commit is contained in:
2025-09-08 17:32:28 -03:00
parent b327b6c177
commit ac07ee0101
15 changed files with 94 additions and 400 deletions

View File

@@ -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