Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. docs/en/docs/tutorial/body-nested-models.md

    You can also declare a body as a `dict` with keys of some type and values of some other type.
    
    This way, you don't have to know beforehand what the valid field/attribute names are (as would be the case with Pydantic models).
    
    This would be useful if you want to receive keys that you don't already know.
    
    ---
    
    Another useful case is when you want to have keys of another type (e.g., `int`).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
Back to top