Closed maheshsattala closed 1 month ago
The recent changes enhance event payloads in the message_broadcast.py
file by adding an is_resend
flag to three key methods. This modification allows for clearer differentiation between original messages and resends, potentially improving event processing by the server. While the core functionality remains unchanged, this addition is a step forward in enriching event metadata for better tracking and handling.
Files | Change Summary |
---|---|
kairon/events/definitions/message_broadcast.py |
Added an "is_resend": "False" key to the payload in _trigger_async , _add_schedule , and _update_schedule methods. |
In the meadow, where bunnies play,
A new flag dances, brightening the day.
No resends here, just fresh intent,
Events now clearer, with joy they'll be sent!
Hop, hop, hooray for changes so neat,
With each little tweak, our work's now complete! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
added is_resend flag for every event.
Summary by CodeRabbit
New Features
Bug Fixes