mirror of
https://github.com/langgenius/dify.git
synced 2026-08-03 20:13:35 +08:00
- Move console_exempt_prefixes to module-level _CONSOLE_EXEMPT_PREFIXES to avoid per-request tuple construction in before_request handler - Refactor get_cached_license_status into focused helper methods (_read_cached_license_status, _fetch_and_cache_license_status) to reduce try/except nesting - Add exc_info=True to debug-level exception logs for diagnosability - Add LicenseStatus return type annotation with TYPE_CHECKING guard |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| account_deletion_sync.py | ||
| base.py | ||
| enterprise_service.py | ||
| plugin_manager_service.py | ||
| workspace_sync.py | ||