🎨 [pre-commit.ci] Auto format from pre-commit.com hooks

This commit is contained in:
pre-commit-ci[bot] 2024-04-18 16:46:02 +00:00
parent c8c04115a1
commit 3122c3ad34
1 changed files with 3 additions and 2 deletions

View File

@ -471,8 +471,9 @@ class OAuth2PasswordBearer(OAuth2):
flows = OAuthFlowsModel(
password=cast(
Any,
{"tokenUrl": tokenUrl, "refreshUrl": refreshUrl, "scopes": scopes} if refreshUrl else
{"tokenUrl": tokenUrl, "scopes": scopes}
{"tokenUrl": tokenUrl, "refreshUrl": refreshUrl, "scopes": scopes}
if refreshUrl
else {"tokenUrl": tokenUrl, "scopes": scopes},
)
)
super().__init__(