- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SubModel (0.04 sec)
-
tests/test_response_model_as_return_annotation.py
} }, "/response_model_filtering_model-annotation_submodel-return_submodel": { "get": { "summary": "Response Model Filtering Model Annotation Submodel Return Submodel", "operationId": "response_model_filtering_model_annotation_submodel_return_submodel_response_model_filtering_model_annotation_submodel_return_submodel_get", "responses": {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 47.7K bytes - Viewed (0) -
fastapi/routing.py
name=response_name, type_=self.response_model, mode="serialization", ) # Create a clone of the field, so that a Pydantic submodel is not returned # as is just because it's an instance of a subclass of a more limited class # e.g. UserInDB (containing hashed_password) could be a subclass of UserRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 174.6K bytes - Viewed (0)