mirror of
https://github.com/langgenius/dify.git
synced 2026-02-23 03:17:57 +08:00
- Updated the `get_event` method to return `None` instead of raising a ValueError when an event is not found, enhancing error handling. - Adjusted the `get_event_parameters` method to handle cases where the event may be `None`, returning an empty dictionary instead of causing an error. - Improved type hinting for better clarity and type safety.