Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for combine (0.19 sec)

  1. docs/en/docs/alternatives.md

    It is the recommended server for Starlette and **FastAPI**.
    
    !!! check "**FastAPI** recommends it as"
        The main web server to run **FastAPI** applications.
    
        You can combine it with Gunicorn, to have an asynchronous multi-process server.
    
        Check more details in the [Deployment](deployment/index.md){.internal-link target=_blank} section.
    
    ## Benchmarks and speed
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    When the `with` block finishes, it makes sure to close the file, even if there were exceptions.
    
    When you create a dependency with `yield`, **FastAPI** will internally create a context manager for it, and combine it with some other related tools.
    
    ### Using context managers in dependencies with `yield`
    
    !!! warning
        This is, more or less, an "advanced" idea.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/bigger-applications.md

    ### Import `FastAPI`
    
    You import and create a `FastAPI` class as normally.
    
    And we can even declare [global dependencies](dependencies/global-dependencies.md){.internal-link target=_blank} that will be combined with the dependencies for each `APIRouter`:
    
    ```Python hl_lines="1  3  7" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### Import the `APIRouter`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/docker.md

    * <a href="https://hub.docker.com/_/redis" class="external-link" target="_blank">Redis</a>, etc.
    
    By using a pre-made container image it's very easy to **combine** and use different tools. For example, to try out a new database. In most cases, you can use the **official images**, and just configure them with environment variables.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/custom-response.md

    In this case, the `status_code` used will be the default one for the `RedirectResponse`, which is `307`.
    
    ---
    
    You can also use the `status_code` parameter combined with the `response_class` parameter:
    
    ```Python hl_lines="2  7  9"
    {!../../../docs_src/custom_response/tutorial006c.py!}
    ```
    
    ### `StreamingResponse`
    
    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)
  6. docs/en/docs/async.md

        return burgers
    ```
    
    With `async def`, Python knows that, inside that function, it has to be aware of `await` expressions, and that it can "pause" ⏸ the execution of that function and go do something else 🔀 before coming back.
    
    When you want to call an `async def` function, you have to "await" it. So, this won't work:
    
    ```Python
    # This won't work, because get_burgers was defined with: async def
    burgers = get_burgers(2)
    ```
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
  7. README.md

        * Automatic and clear errors when the data is invalid.
        * Validation even for deeply nested JSON objects.
    * <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of input data: coming from the network to Python data and types. Reading from:
        * JSON.
        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/settings.md

    ## Pydantic `Settings`
    
    Fortunately, Pydantic provides a great utility to handle these settings coming from environment variables with <a href="https://docs.pydantic.dev/latest/usage/pydantic_settings/" class="external-link" target="_blank">Pydantic: Settings management</a>.
    
    ### Install `pydantic-settings`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. docs/pt/docs/alternatives.md

    !!! check "**FastAPI** inspirado para"
        Ser um microframework. Fazer ele fácil para misturar e combinar com ferramentas e partes necessárias.
    
        Ser simples e com sistema de roteamento fácil de usar.
    
    ### <a href="https://requests.readthedocs.io" class="external-link" target="_blank">Requests</a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. docs/en/docs/index.md

        * Automatic and clear errors when the data is invalid.
        * Validation even for deeply nested JSON objects.
    * <abbr title="also known as: serialization, parsing, marshalling">Conversion</abbr> of input data: coming from the network to Python data and types. Reading from:
        * JSON.
        * Path parameters.
        * Query parameters.
        * Cookies.
        * Headers.
        * Forms.
        * Files.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top