Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for formatted (0.25 sec)

  1. docs/en/docs/advanced/custom-response.md

    Let's say you want it to return indented and formatted JSON, so you want to use the orjson option `orjson.OPT_INDENT_2`.
    
    You could create a `CustomORJSONResponse`. The main thing you have to do is create a `Response.render(content)` method that returns the content as `bytes`:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. docs/de/docs/deployment/docker.md

    <div class="termy">
    
    ```console
    $ pip install -r requirements.txt
    ---> 100%
    Successfully installed fastapi pydantic uvicorn
    ```
    
    </div>
    
    !!! info
        Es gibt andere Formate und Tools zum Definieren und Installieren von Paketabhängigkeiten.
    
        Ich zeige Ihnen später in einem Abschnitt unten ein Beispiel unter Verwendung von Poetry. 👇
    
    ### Den **FastAPI**-Code erstellen
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:19:17 GMT 2024
    - 38.9K bytes
    - Viewed (0)
Back to top