Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. fastapi/applications.py

                    the client doesn't have to provide it.
    
                    But when using `Item` for output, for a response body, `tags` is always
                    available because it has a default value, even if it's just an empty
                    list. So, the client should be able to always expect it.
    
                    In this case, there would be two different schemas, one for input and
                    another one for output.
    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)
    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