dify/api/services/workflow
Harry 452588dded refactor(api): fix pyright check
- Replaced `is_editor` checks with `has_edit_permission` in `workflow_trigger.py` and `workflow.py` to enhance clarity and consistency in permission handling.
- Updated the rate limiter to use `datetime.now(UTC)` instead of `datetime.utcnow()` for accurate time handling.
- Added `__all__` declaration in `trigger/__init__.py` for better module export management.
- Initialized `debug_dispatched` variable in `trigger_processing_tasks.py` to ensure proper tracking during workflow dispatching.

These changes improve code readability and maintainability while ensuring correct permission checks and time management.
2025-09-25 18:32:22 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
entities.py feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
queue_dispatcher.py fix: limits 2025-09-09 23:32:51 +08:00
rate_limiter.py refactor(api): fix pyright check 2025-09-25 18:32:22 +08:00
workflow_converter.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00