mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(team_endpoints.py): fix linting error
This commit is contained in:
parent
a93ef15b55
commit
b15c06ee94
1 changed files with 2 additions and 2 deletions
|
@ -1279,7 +1279,7 @@ async def team_info(
|
||||||
--header 'Authorization: Bearer your_api_key_here'
|
--header 'Authorization: Bearer your_api_key_here'
|
||||||
```
|
```
|
||||||
"""
|
"""
|
||||||
from litellm.proxy.proxy_server import llm_router, prisma_client
|
from litellm.proxy.proxy_server import prisma_client
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if prisma_client is None:
|
if prisma_client is None:
|
||||||
|
@ -1556,7 +1556,7 @@ async def list_team(
|
||||||
- user_id: str - Optional. If passed will only return teams that the user_id is a member of.
|
- user_id: str - Optional. If passed will only return teams that the user_id is a member of.
|
||||||
- organization_id: str - Optional. If passed will only return teams that belong to the organization_id. Pass 'default_organization' to get all teams without organization_id.
|
- organization_id: str - Optional. If passed will only return teams that belong to the organization_id. Pass 'default_organization' to get all teams without organization_id.
|
||||||
"""
|
"""
|
||||||
from litellm.proxy.proxy_server import llm_router, prisma_client
|
from litellm.proxy.proxy_server import prisma_client
|
||||||
|
|
||||||
if not allowed_route_check_inside_route(
|
if not allowed_route_check_inside_route(
|
||||||
user_api_key_dict=user_api_key_dict, requested_user_id=user_id
|
user_api_key_dict=user_api_key_dict, requested_user_id=user_id
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue