Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for beforeSend (0.09 sec)

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

    ## Bodies of arbitrary `dict`s
    
    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.
    
    ---
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/extra-models.md

    This is useful if you don't know the valid field/attribute names (that would be needed for a Pydantic model) beforehand.
    
    In this case, you can use `typing.Dict` (or just `dict` in Python 3.9 and above):
    
    === "Python 3.9+"
    
        ```Python hl_lines="6"
        {!> ../../../docs_src/extra_models/tutorial005_py39.py!}
        ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top