Browse Source

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

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
pull/10947/head
0shah0 1 year 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