Browse Source

🎨 Auto format

pull/14407/head
pre-commit-ci-lite[bot] 5 months ago
committed by GitHub
parent
commit
55b663f70f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

3
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

@ -36,7 +36,8 @@ async def read_with_oauth2_scheme():
@app.get(
"/with-get-token", dependencies=[Security(get_token, oauth_scopes=["read", "write"])]
"/with-get-token",
dependencies=[Security(get_token, oauth_scopes=["read", "write"])],
)
async def read_with_get_token():
return {"message": "Admin Access"}

Loading…
Cancel
Save