Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Chen (0.15 sec)

  1. fastapi/applications.py

                bool,
                Doc(
                    """
                    Whether to generate separate OpenAPI schemas for request body and
                    response body when the results would be more precise.
    
                    This is particularly useful when automatically generating clients.
    
                    For example, if you have a model like:
    
                    ```python
                    from pydantic import BaseModel
    
    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)
  2. fastapi/routing.py

                # would pass the validation and be returned as is.
                # By being a new field, no inheritance will be passed as is. A new model
                # will always be created.
                # TODO: remove when deprecating Pydantic v1
                self.secure_cloned_response_field: Optional[
                    ModelField
                ] = create_cloned_field(self.response_field)
            else:
    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)
Back to top