mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
feat(team_endpoints): Apply suggestions from greptile
* Set greater-than constraint on key-limit * Fix type
This commit is contained in:
parent
5013833136
commit
b082486941
2 changed files with 3 additions and 3 deletions
|
|
@ -3470,8 +3470,8 @@ async def team_info(
|
|||
team_id: str = fastapi.Query(
|
||||
default=None, description="Team ID in the request parameters"
|
||||
),
|
||||
key_limit: int = fastapi.Query(
|
||||
default=None, description="Limit the number of keys returned"
|
||||
key_limit: Optional[int] = fastapi.Query(
|
||||
default=None, description="Limit the number of keys returned", gt=0
|
||||
),
|
||||
user_api_key_dict: UserAPIKeyAuth = Depends(user_api_key_auth),
|
||||
):
|
||||
|
|
|
|||
2
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
2
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -48528,7 +48528,7 @@ export interface operations {
|
|||
/** @description Team ID in the request parameters */
|
||||
team_id?: string;
|
||||
/** @description Limit the number of keys returned */
|
||||
key_limit?: number;
|
||||
key_limit?: number | null;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue