dify/api/services/enterprise
GareArc 64fcd9859f
fix: move exempt prefixes to module-level constant and refactor license status caching
- 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
2026-03-11 14:08:12 -07:00
..
__init__.py Feat/enterprise sso (#3602) 2024-04-18 17:33:32 +08:00
account_deletion_sync.py Squash merge 1.12.1-otel-ee into release/e-1.12.1 2026-03-04 16:59:37 -08:00
base.py fix: use LicenseStatus enum instead of raw strings and tighten path prefix matching 2026-03-05 01:16:45 -08:00
enterprise_service.py fix: move exempt prefixes to module-level constant and refactor license status caching 2026-03-11 14:08:12 -07:00
plugin_manager_service.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
workspace_sync.py feat: credential sync fix for enterprise edition (#30626) 2026-01-14 23:33:24 -08:00