Closes #21260: Defer object serialization for events pipeline #473

Closed
opened 2026-04-05 16:34:46 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 1/23/2026

Closes: #21260

  • Introduce EventContext custom dictionary to populate serialized data on-demand
  • Update enqueue_event()
    • Use EventContext instances instead of raw dictionaries
    • Add object and user as additional context
    • Force object serialization for deletion events
  • Simplify signature of process_event_rules() to accept an event dict
*Originally created by @jeremystretch on 1/23/2026* ### Closes: #21260 - Introduce `EventContext` custom dictionary to populate serialized data on-demand - Update `enqueue_event()` - Use `EventContext` instances instead of raw dictionaries - Add `object` and `user` as additional context - Force object serialization for deletion events - Simplify signature of `process_event_rules()` to accept an event dict
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#473