mirror of https://github.com/tiangolo/fastapi.git
✏️ Fix import typo in reference example for `Security` (#11168)
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
This commit is contained in:
parent
066ea10ac5
commit
85cded53c8
|
|
@ -2343,7 +2343,7 @@ def Security( # noqa: N802
|
||||||
```python
|
```python
|
||||||
from typing import Annotated
|
from typing import Annotated
|
||||||
|
|
||||||
from fastapi import Depends, FastAPI
|
from fastapi import Security, FastAPI
|
||||||
|
|
||||||
from .db import User
|
from .db import User
|
||||||
from .security import get_current_active_user
|
from .security import get_current_active_user
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue