Closed sfahad1414 closed 1 month ago
The updates introduce a new dispatch_event
method in the KScheduler
class to manage job addition events, along with a new API endpoint for triggering these events via a GET request. Additionally, a corresponding integration test is added to validate the dispatching functionality, ensuring proper interaction between components and confirming the success of the API change.
Files | Change Summary |
---|---|
kairon/events/scheduler/kscheduler.py, | New method dispatch_event added to handle job events. |
kairon/events/server.py | New GET endpoint /api/events/dispatch/{event_id} created. |
tests/integration_test/event_service_test.py | New test test_scheduled_event_request_dispatch added. |
In the garden where events play,
A new dispatcher hops today.
With a flick and a bound,
Jobs take flight, all around,
Making schedules bright, come what may! 🐇✨
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?
Summary by CodeRabbit
New Features
Tests