Browse Source

✏️ Fix import typo in reference example for `Security` (#11168)

Co-authored-by: Sebastián Ramírez <[email protected]>
pull/9930/merge
0shah0 8 months ago
committed by GitHub
parent
commit
85cded53c8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      fastapi/param_functions.py

2
fastapi/param_functions.py

@ -2343,7 +2343,7 @@ def Security( # noqa: N802
```python
from typing import Annotated
from fastapi import Depends, FastAPI
from fastapi import Security, FastAPI
from .db import User
from .security import get_current_active_user

Loading…
Cancel
Save