litellm/tests/test_litellm/containers
Tin Chi Lo 00875ccd03 refactor(containers): fetch container owner and team in one query
Review feedback: the access check called _get_container_owner then
_get_container_team_id, two separately-evictable reads where the second
was only assumed to be a cache hit off the first. Merge them into
_get_container_owner_and_team so a miss on either triggers exactly one
refetch that repopulates both. Add a regression test asserting a
cold-cache access check issues a single query, and document that the
teammate list-cache freshness is a TTL-bounded, view-only tradeoff that
never affects the access decision.
2026-06-17 20:36:27 -07:00
..
__init__.py Add E2E Container API Support (#16136) 2025-11-01 14:03:51 -07:00
test_azure_container_transformation.py fix(router): use forwarded model_id for native Azure container IDs (#27921) 2026-05-20 12:32:34 -07:00
test_container_api.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_container_handler_url.py fix: encode upstream URL path identifiers 2026-04-29 22:02:39 -07:00
test_container_integration.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_container_proxy_ownership.py refactor(containers): fetch container owner and team in one query 2026-06-17 20:36:27 -07:00
test_container_regional_api_base.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00
test_container_transformation.py fix: encode upstream URL path identifiers 2026-04-29 22:02:39 -07:00
test_container_utils.py style: run black formatter on files from main merge 2026-04-17 13:02:59 -07:00