Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /routes /tenants /_shared.py
| """Shared dependencies and helpers for tenant route submodules. | |
| Structural surface for future refactor. The implementation currently lives in | |
| ``routes/tenants/__init__.py`` (original 1,443-line router preserved intact | |
| to guarantee HTTP contract stability). This module re-exports the symbols that | |
| the per-section sub-routers (crud, lifecycle, quota, hierarchy) would consume | |
| once the endpoint extraction is performed. | |
| """ | |
| # ruff: noqa: F401 - private helpers are explicit attributes, not wildcard exports. | |
| from __future__ import annotations | |
| from . import ( | |
| _authenticate_via_api_key, | |
| _authenticate_via_jwt, | |
| _build_tenant_list_response, | |
| _configured_jwt_algorithm, | |
| _get_tenant_or_404, | |
| _tenant_response, | |
| get_admin_tenant_id, | |
| get_manager, | |
| get_optional_tenant_id, | |
| ) | |
| __all__ = [ | |
| "get_admin_tenant_id", | |
| "get_manager", | |
| "get_optional_tenant_id", | |
| ] | |
Xet Storage Details
- Size:
- 892 Bytes
- Xet hash:
- 3b95c4d3deba3d85252039d002c41bf6d3bfda247ec9f9d8179f2cf3ff5b2e22
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.