mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
Refactor import statements in key_management_endpoints.py
- Updated the import statements in `generate_key_helper_fn` for better readability by formatting them into a multi-line structure. This change enhances code clarity without altering functionality.
This commit is contained in:
parent
63cad23c66
commit
856ab1ad25
1 changed files with 5 additions and 1 deletions
|
|
@ -3032,7 +3032,11 @@ async def generate_key_helper_fn( # noqa: PLR0915
|
|||
access_group_ids: Optional[list] = None,
|
||||
budget_limits: Optional[list] = None, # multiple concurrent budget windows
|
||||
):
|
||||
from litellm.proxy.proxy_server import premium_user, prisma_client, user_api_key_cache
|
||||
from litellm.proxy.proxy_server import (
|
||||
premium_user,
|
||||
prisma_client,
|
||||
user_api_key_cache,
|
||||
)
|
||||
|
||||
if prisma_client is None:
|
||||
raise Exception(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue