dify/api/events
Yeuoly 9898730cc5 feat: add webhook node limit validation (max 5 per workflow)
- Add MAX_WEBHOOK_NODES_PER_WORKFLOW constant set to 5
- Validate webhook node count in sync_webhook_relationships method
- Raise ValueError when workflow exceeds webhook node limit
- Block workflow save when limit is exceeded to ensure data integrity
- Provide clear error message indicating current count and maximum allowed

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:22:09 +08:00
..
event_handlers feat: add webhook node limit validation (max 5 per workflow) 2025-09-10 17:22:09 +08:00
__init__.py feat: support opensearch approximate k-NN (#5322) 2024-06-19 12:44:33 +08:00
app_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
dataset_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
document_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
document_index_event.py Update mypy.ini (#24014) 2025-08-16 19:29:19 +08:00
message_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00
tenant_event.py chore(api): Introduce Ruff Formatter. (#7291) 2024-08-15 12:54:05 +08:00