- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Attribut (0.37 sec)
-
fastapi/applications.py
This is not passed as a parameter to the `FastAPI` class to avoid giving the false idea that FastAPI would generate a different OpenAPI schema. It is only available as an attribute. **Example** ```python from fastapi import FastAPI app = FastAPI() app.openapi_version = "3.0.2"
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 172.2K bytes - Viewed (0) -
fastapi/routing.py
if read_with_orm_mode: # Let from_orm extract the data from this model instead of converting # it now to a dict. # Otherwise, there's no way to extract lazy data that requires attribute # access instead of dict iteration, e.g. lazy relationships. return res return _model_dump( res, by_alias=True, exclude_unset=exclude_unset,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 170.1K bytes - Viewed (0)