Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Clain (0.12 sec)

  1. docs/en/docs/tutorial/extra-models.md

    === "Python 3.8+"
    
        ```Python hl_lines="1  20"
        {!> ../../../docs_src/extra_models/tutorial004.py!}
        ```
    
    ## Response with arbitrary `dict`
    
    You can also declare a response using a plain arbitrary `dict`, declaring just the type of the keys and values, without using a Pydantic model.
    
    This is useful if you don't know the valid field/attribute names (that would be needed for a Pydantic model) beforehand.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
Back to top