fix example

This commit is contained in:
ProfiAnton 2025-10-21 19:52:50 +02:00
parent 5c6cda0304
commit 3dcd96e920
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ class FastAPI(Starlette):
from fastapi import Depends, FastAPI from fastapi import Depends, FastAPI
from .dependencies import func_dep_1, func_dep_2 from .dependencies import func_dep_1, func_dep_2
annotated_dep=Annotated[str,lambda:"annotated"] annotated_dep=Annotated[str,Depends(lambda:"annotated")]
app = FastAPI(dependencies=[Depends(func_dep_1), Depends(func_dep_2),annotated_dep]) app = FastAPI(dependencies=[Depends(func_dep_1), Depends(func_dep_2),annotated_dep])
``` ```
""" """