Results of 1 - 2 of about 2 for traceparent (0.006 sec.)
- Header Parameter Models 11228
- Header Parameter Models Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . If you have a group of related header parameters , you can create a Pydantic model to decla
...odel app = FastAPI () class CommonHeaders ( BaseModel ): host : str save_data : bool if_modified_since : str | None = None traceparent : str | None = None x_tag : list [ str ] = [] @app . get ( "/items/" ) async def read_items ( headers : Annotated [ Common...FastAPI () class CommonHeaders ( BaseModel ): host : str save_data : bool if_modified_since : Union [ str , None ] = None traceparent : Union [ str , None ] = None x_tag : list [ str ] = [] @app . get ( "/items/" ) async def read_items ( headers : Annotate...FastAPI () class CommonHeaders ( BaseModel ): host : str save_data : bool if_modified_since : Union [ str , None ] = None traceparent : Union [ str , None ] = None x_tag : List [ str ] = [] @app . get ( "/items/" ) async def read_items ( headers : Annotate... - https://man.mtool.work/fastapi/0.115/tutorial/header-param-models/
- Release Notes 7485
- Release Notes Latest Changes 0.115.11 Fixes ? Add docs examples and tests (support) for Annotated custom validations, like AfterValidator , revert #13440 . PR #13442 by @tiangolo . New docs: Query Parameters and String Validations - Custom
...odel app = FastAPI () class CommonHeaders ( BaseModel ): host : str save_data : bool if_modified_since : str | None = None traceparent : str | None = None x_tag : list [ str ] = [] @app . get ( "/items/" ) async def read_items ( headers : Annotated [ Common... - https://man.mtool.work/fastapi/0.115/release-notes/
PREV
1
NEXT