Closed hiteshghuge closed 1 month ago
The recent changes involve a modification of the event_data
dictionary in the ScheduleAction
class, specifically renaming the 'script'
key to 'source_code'
. This adjustment improves clarity in the codebase, ensuring that the data structure is more reflective of its content. Corresponding updates were made in the integration tests to maintain consistency with the changed key, ensuring that testing remains accurate and relevant to the new data model.
File Path | Change Summary |
---|---|
kairon/actions/definitions/schedule.py |
Renamed 'script' key to 'source_code' in event_data dictionary within the execute method. |
tests/integration_test/action_service_test.py |
Updated test assertions to reflect the renaming of 'script' to 'source_code' in mock job store. |
🐇 In the code where rabbits play,
A key was changed to brighten the day!
From 'script' to 'source_code' it leapt,
Clarity gained, and errors we swept.
With hops of joy, we celebrate this change,
In our warren, all things rearrange! 🌼✨
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
Bug Fixes
Documentation