mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
fix: suppress PLR0915 on openapi_oauth2_callback (complex OAuth2 flow function)
This commit is contained in:
parent
0acd828a21
commit
dcd0722da9
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ async def openapi_oauth2_connect(
|
|||
|
||||
|
||||
@router.get("/v1/mcp/oauth2/callback", include_in_schema=False, response_model=None)
|
||||
async def openapi_oauth2_callback(
|
||||
async def openapi_oauth2_callback( # noqa: PLR0915
|
||||
request: Request,
|
||||
code: Optional[str] = Query(default=None),
|
||||
state: Optional[str] = Query(default=None),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue