Closed hasinaxp closed 3 months ago
The recent changes bolster the integrity of the callback configuration system by ensuring that deletions are only permitted when there are no associated callback actions. Additionally, the edit_callback_action
method now processes all entries in the request_data
, regardless of their truthiness, which may alter how metadata is managed in the application.
File Path | Change Summary |
---|---|
kairon/shared/callback/data_objects.py | Enhanced delete_entry method to prevent deletion of callback configurations associated with existing actions. |
kairon/shared/data/processor.py | Revised edit_callback_action method to process all entries in request_data , changing how metadata is handled. |
kairon/async_callback/channel_message_dispacher.py | Modified message type in handle_default and dispatch_message functions from "flatten" to "flattened" , refining message handling logic. |
In the code where rabbits hop,
Deletions now come to a stop!
With every action kept in sight,
Our callbacks stay safe and bright.
Process data, new and old,
In this magic, stories unfold! 🐇✨
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?
1.update for callbackActionConfig 2.not let users delete callbackConfig if it is attached to callbackActionConfig
Summary by CodeRabbit
New Features
Bug Fixes
Improvements