Browse Source

fix: correcting redeclaration of function

changing function redeclaration in tests/test_security_oauth2_scopes.py
pull/13369/head
Joao-Pedro-P-Holanda 2 months ago
parent
commit
872f59b4d6
  1. 2
      tests/test_security_oauth2_scopes.py

2
tests/test_security_oauth2_scopes.py

@ -24,7 +24,7 @@ async def read_single_scope(
@app.get("/me-and-items")
async def read_single_scope(
async def read_multiple_scopes(
current_scope=Security(get_security_scopes, scopes=["me", "items"]),
):
return {"scopes": current_scope}

Loading…
Cancel
Save