add events
This commit is contained in:
@@ -89,7 +89,11 @@ def _handler(record: Course, context: dict) -> Enrollment:
|
||||
enrollment,
|
||||
persistence_layer=enrollment_layer,
|
||||
deduplication_window=DeduplicationWindow(offset_days=90),
|
||||
linked_entities=frozenset({LinkedEntity(context['order_id'], 'ORDER')}),
|
||||
linked_entities=frozenset(
|
||||
{
|
||||
LinkedEntity(context['order_id'], 'ORDER'),
|
||||
}
|
||||
),
|
||||
)
|
||||
|
||||
return enrollment
|
||||
|
||||
Reference in New Issue
Block a user