Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for because (0.19 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
    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

                )
                # 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 User
                # that doesn't have the hashed_password. But because it's a subclass, it
                # would pass the validation and be returned as is.
    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