Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for converties (0.05 sec)

  1. docs/pt/docs/advanced/dataclasses.md

    Você também pode usar `dataclasses` no parâmetro `response_model`:
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    A dataclass será automaticamente convertida para uma dataclass Pydantic.
    
    Dessa forma, seu esquema aparecerá na interface de documentação da API:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/dataclasses.md

    También puedes usar `dataclasses` en el parámetro `response_model`:
    
    {* ../../docs_src/dataclasses_/tutorial002_py310.py hl[1,6:12,18] *}
    
    El dataclass será automáticamente convertido a un dataclass de Pydantic.
    
    De esta manera, su esquema aparecerá en la interfaz de usuario de la documentación de la API:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/dataclasses.md

        In this case, it's a list of `Item` dataclasses.
    
    6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.
    
        FastAPI is still capable of <abbr title="converting the data to a format that can be transmitted">serializing</abbr> the data to JSON.
    
    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. fastapi/routing.py

                        that `password`.
                    * Validation: whatever you return will be serialized with the
                        `response_model`, converting any data as necessary to generate the
                        corresponding JSON. But if the data in the object returned is not
                        valid, that would mean a violation of the contract with the client,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  5. docs/en/docs/index.md

        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    * <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of output data: converting from Python data and types to network data (as JSON):
        * Convert Python types (`str`, `int`, `float`, `bool`, `list`, etc).
        * `datetime` objects.
        * `UUID` objects.
        * Database models.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  6. README.md

        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    * <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of output data: converting from Python data and types to network data (as JSON):
        * Convert Python types (`str`, `int`, `float`, `bool`, `list`, etc).
        * `datetime` objects.
        * `UUID` objects.
        * Database models.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 25 11:01:37 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  7. scripts/translate.py

    Examples:
    
        Source (English):
    
            «««
            <abbr title="also known as: endpoints, routes">path</abbr>
            <abbr title="a program that checks for code errors">linter</abbr>
            <abbr title="converting the string that comes from an HTTP request into Python data">parsing</abbr>
            <abbr title="before 2023-03">0.95.0</abbr>
            <abbr title="2023-08-26">at the time of writing this</abbr>
            »»»
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
Back to top