add send cert reporting

This commit is contained in:
2025-10-12 01:09:40 -03:00
parent c9438d49fb
commit 8d10f55ad2
20 changed files with 435 additions and 55 deletions

View File

@@ -64,14 +64,6 @@ def enroll(
# Post-migration: uncomment the following line
# | ({'org_id': org['org_id']} if org else {}),
)
transact.put(
item={
'id': enrollment.id,
'sk': 'METADATA#COURSE',
'created_at': now_,
**course.model_dump(include={'cert', 'access_period'}),
}
)
# Relationships between this enrollment and its related entities
for parent_entity in linked_entities: