mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
refactor(proxy): drop redundant docstring from organization key cleanup helper
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
884a467a7f
commit
38586e9684
1 changed files with 0 additions and 2 deletions
|
|
@ -1025,8 +1025,6 @@ async def _delete_organization_keys(
|
|||
user_api_key_cache: UserApiKeyCache,
|
||||
proxy_logging_obj: ProxyLogging | None,
|
||||
) -> None:
|
||||
"""Delete the organization's keys and drop every cache entry that still resolves to them,
|
||||
including the jwt_key_mapping entries the FK cascade removes from the table but not from the cache."""
|
||||
key_filter: Final[_OrganizationIdFilter] = {"organization_id": organization_id}
|
||||
keys_to_delete: Final = await _table(VerificationTokenRepository(prisma_client)).find_many(where=key_filter)
|
||||
hashed_tokens_to_delete: Final = tuple(key.token for key in keys_to_delete)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue