Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sact (0.13 sec)

  1. docs/en/docs/benchmarks.md

        * If you are comparing Uvicorn, compare it against Daphne, Hypercorn, uWSGI, etc. Application servers.
    * **Starlette**:
        * Will have the next best performance, after Uvicorn. In fact, Starlette uses Uvicorn to run. So, it probably can only get "slower" than Uvicorn by having to execute more code.
        * But it provides you the tools to build simple web applications, with routing based on paths, etc.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/background-tasks.md

    **FastAPI** sait quoi faire dans chaque cas et comment réutiliser le même objet, afin que tous les paramètres de type `BackgroundTasks` soient fusionnés et que les tâches soient exécutées en arrière-plan :
    
    ```Python hl_lines="13  15  22  25"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 5.7K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/response-directly.md

    But you can return a `JSONResponse` directly from your *path operations*.
    
    It might be useful, for example, to return custom headers or cookies.
    
    ## Return a `Response`
    
    In fact, you can return any `Response` or any sub-class of it.
    
    !!! tip
        `JSONResponse` itself is a sub-class of `Response`.
    
    And when you return a `Response`, **FastAPI** will pass it directly.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 3K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/separate-openapi-schemas.md

    # Separate OpenAPI Schemas for Input and Output or Not
    
    When using **Pydantic v2**, the generated OpenAPI is a bit more exact and **correct** than before. 😎
    
    In fact, in some cases, it will even have **two JSON Schemas** in OpenAPI for the same Pydantic model, for input and output, depending on if they have **default values**.
    
    Let's see how that works and how to change it if you need to do that.
    
    ## Pydantic Models for Input and Output
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/path-operation-advanced-configuration.md

    You could do that with `openapi_extra`:
    
    ```Python hl_lines="20-37  39-40"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial006.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top