Commit Graph

5 Commits

Author SHA1 Message Date
Yeuoly ec58236521 fix: apply ruff 2025-10-17 17:42:23 +08:00
Yeuoly a9230eeecc fix 2025-10-14 20:57:50 +08:00
Yeuoly 076f4864bc refactor: update Lark trigger events to use new dispatch_single_event interface
- Replace direct lark.EventDispatcherHandler.builder usage with dispatch_single_event helper
- Update lambda syntax from callback pattern to direct method reference
- Change department_created_v3 YAML to use array types instead of JSON strings
- Remove redundant imports and boilerplate code across all event handlers
- Improve consistency across IM, contact, calendar, approval, and drive events

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 15:21:51 +08:00
Yeuoly 78cf1aab39 refactor: add generics to lark dispatch helper (#216) 2025-10-14 14:50:44 +08:00
Yeuoly 2d32c0feaa refactor: de-duplicate lark event dispatcher setup (#215)
* refactor: reuse lark event dispatch setup

* fix: expose structured lark trigger payloads

* Update python/examples/lark_trigger/events/contact/user_updated_v3.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update python/examples/lark_trigger/events/contact/user_updated_v3.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update python/examples/lark_trigger/events/contact/user_updated_v3.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update python/examples/lark_trigger/events/contact/user_updated_v3.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

* Update python/examples/lark_trigger/events/contact/user_updated_v3.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-14 11:23:05 +08:00