mirror of https://github.com/tiangolo/fastapi.git
🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
This commit is contained in:
parent
9846605462
commit
0c81a76fdf
|
|
@ -519,7 +519,7 @@ class FastAPI(Starlette):
|
|||
"""
|
||||
**Attention**: This parameter is deprecated.
|
||||
|
||||
The recommended approach for managing startup and shutdown
|
||||
The recommended approach for managing startup and shutdown
|
||||
is by utilizing the lifespan parameter within the FastAPI app.
|
||||
"""
|
||||
),
|
||||
|
|
@ -540,7 +540,7 @@ class FastAPI(Starlette):
|
|||
"""
|
||||
**Attention**: This parameter is deprecated.
|
||||
|
||||
The recommended approach for managing startup and shutdown
|
||||
The recommended approach for managing startup and shutdown
|
||||
is by utilizing the lifespan parameter within the FastAPI app.
|
||||
"""
|
||||
),
|
||||
|
|
|
|||
|
|
@ -694,7 +694,7 @@ class APIRouter(routing.Router):
|
|||
"""
|
||||
**Attention**: This parameter is deprecated.
|
||||
|
||||
The recommended approach for managing startup and shutdown
|
||||
The recommended approach for managing startup and shutdown
|
||||
is by utilizing the lifespan parameter within the APIRouter.
|
||||
"""
|
||||
),
|
||||
|
|
@ -715,7 +715,7 @@ class APIRouter(routing.Router):
|
|||
"""
|
||||
**Attention**: This parameter is deprecated.
|
||||
|
||||
The recommended approach for managing startup and shutdown
|
||||
The recommended approach for managing startup and shutdown
|
||||
is by utilizing the lifespan parameter within the APIRouter.
|
||||
"""
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue