Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for pojer (0.18 sec)

  1. docs/es/docs/advanced/response-directly.md

    ## Usando el `jsonable_encoder` en una `Response`
    
    Como **FastAPI** no realiza ningún cambio en la `Response` que devuelves, debes asegurarte de que el contenido está listo.
    
    Por ejemplo, no puedes poner un modelo Pydantic en una `JSONResponse` sin primero convertirlo a un `dict` con todos los tipos de datos (como `datetime`, `UUID`, etc) convertidos a tipos compatibles con JSON.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 11:57:27 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/dataclasses.md

        Keep in mind that dataclasses can't do everything Pydantic models can do.
    
        So, you might still need to use Pydantic models.
    
        But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ## Dataclasses in `response_model`
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    ```Python hl_lines="1  7-13  19"
    {!../../../docs_src/dataclasses/tutorial002.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  3. docs/en/docs/fastapi-people.md

    ## Top Translation Reviewers
    
    These users are the **Top Translation Reviewers**. 🕵️
    
    I only speak a few languages (and not very well 😅). So, the reviewers are the ones that have the [**power to approve translations**](contributing.md#translations){.internal-link target=_blank} of the documentation. Without them, there wouldn't be documentation in several other languages.
    
    {% if people %}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/concepts.md

    If you are paying for 3 servers but you are using only a little bit of their RAM and CPU, you are probably **wasting money** 💸, and probably **wasting server electric power** 🌎, etc.
    
    In that case, it could be better to have only 2 servers and use a higher percentage of their resources (CPU, memory, disk, network bandwidth, etc).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

            Item(name="Plumbus", price=32.0),
        ]
    ```
    
    FastAPI will use the return type annotation to perform:
    
    * Data validation
    * Automatic documentation
        * It could power automatic client generators
    * **Data filtering**
    
    Before this version it was only supported via the `response_model` parameter.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  6. docs/fr/docs/help-fastapi.md

    ## Créer une Issue
    
    Vous pouvez <a href="https://github.com/tiangolo/fastapi/issues/new/choose" class="external-link" target="_blank">créer une Issue</a> dans le dépôt GitHub, par exemple pour :
    
    * Poser une question ou s'informer sur un problème.
    * Suggérer une nouvelle fonctionnalité.
    
    **Note** : si vous créez un problème, alors je vais vous demander d'aider aussi les autres. 😉
    
    ## Créer une Pull Request
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 08:39:03 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/handling-errors.md

        Esses tipos de dados são manipulados automaticamente pelo **FastAPI** e convertidos em JSON.
    
    
    ## Adicione headers customizados
    
    Há certas situações em que é bastante útil poder adicionar headers customizados no HTTP error. Exemplo disso seria adicionar headers customizados para tipos de segurança.
    
    Você provavelmente não precisará utilizar esses headers diretamente no seu código.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10K bytes
    - Viewed (0)
  8. docs/en/docs/help-fastapi.md

    There you could buy me a coffee ☕️ to say thanks. 😄
    
    And you can also become a Silver or Gold sponsor for FastAPI. 🏅🎉
    
    ## Sponsor the tools that power FastAPI
    
    As you have seen in the documentation, FastAPI stands on the shoulders of giants, Starlette and Pydantic.
    
    You can also sponsor:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  9. docs/pt/docs/fastapi-people.md

    ## Top Revisores
    
    Esses usuários são os **Top Revisores**. 🕵️
    
    ### Revisões para Traduções
    
    Eu só falo algumas línguas (e não muito bem 😅). Então, os revisores são aqueles que têm o [**poder de aprovar traduções**](contributing.md#traducoes){.internal-link target=_blank} da documentação. Sem eles, não haveria documentação em vários outros idiomas.
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/response-change-status-code.md

    ## Casos de uso
    
    Por ejemplo, imagina que quieres retornar un HTTP status code de "OK" `200` por defecto.
    
    Pero si los datos no existen, quieres crearlos y retornar un HTTP status code de "CREATED" `201`.
    
    Pero aún quieres poder filtrar y convertir los datos que retornas con un `response_model`.
    
    Para esos casos, puedes usar un parámetro `Response`.
    
    ## Usar un parámetro `Response`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Feb 06 19:56:23 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top