mirror of https://github.com/langgenius/dify.git
- Initialized `response` variable in `trigger.py` to ensure proper handling in the trigger endpoint. - Updated `http_parser.py` to conditionally set `CONTENT_TYPE` and `CONTENT_LENGTH` headers for improved robustness. - Changed `datetime.utcnow()` to `datetime.now(UTC)` in `sqlalchemy_workflow_trigger_log_repository.py` and `rate_limiter.py` for consistent time zone handling. - Refactored `async_workflow_service.py` to use the public method `get_tenant_owner_timezone` for better encapsulation. - Simplified subscription retrieval logic in `plugin_parameter_service.py` for clarity. These changes improve code reliability and maintainability while ensuring accurate time management and request processing. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| data_migration.py | ||
| dependencies_analysis.py | ||
| endpoint_service.py | ||
| oauth_service.py | ||
| plugin_auto_upgrade_service.py | ||
| plugin_migration.py | ||
| plugin_parameter_service.py | ||
| plugin_permission_service.py | ||
| plugin_service.py | ||