Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 389 for lives (0.15 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    ### Import the dependencies
    
    This code lives in the module `app.routers.items`, the file `app/routers/items.py`.
    
    And we need to get the dependency function from the module `app.dependencies`, the file `app/dependencies.py`.
    
    So we use a relative import with `..` for the dependencies:
    
    ```Python hl_lines="3" title="app/routers/items.py"
    {!../../../docs_src/bigger_applications/app/routers/items.py!}
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/behind-a-proxy.md

    If you pass a custom list of `servers` and there's a `root_path` (because your API lives behind a proxy), **FastAPI** will insert a "server" with this `root_path` at the beginning of the list.
    
    For example:
    
    ```Python hl_lines="4-7"
    {!../../../docs_src/behind_a_proxy/tutorial003.py!}
    ```
    
    Will generate an OpenAPI schema like:
    
    ```JSON hl_lines="5-7"
    {
        "openapi": "3.1.0",
        // More stuff here
        "servers": [
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  3. architecture/ambient/ztunnel.md

    ### Outbound
    
    Requests leaving a pod go through the "outbound" code path on port 15001.
    This is where most of Ztunnel's logic lives.
    
    For outbound traffic, we need to first determine where the traffic is destined to.
    As Ztunnel operates at L4, we only have the destination IP/port (recovered via `SO_ORIGINAL_DST`).
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 25 22:35:16 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

    === "Python 3.9+"
    
        ```Python hl_lines="1  11"
        {!> ../../../docs_src/settings/app03_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  11"
        {!> ../../../docs_src/settings/app03_an/main.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1  10"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/sql-databases.md

    === "Python 3.10+"
    
        ```Python hl_lines="1  4-6  9-10  21-22  25-26"
        {!> ../../../docs_src/sql_databases/sql_app_py310/schemas.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
        {!> ../../../docs_src/sql_databases/sql_app_py39/schemas.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3  6-8  11-12  23-24  27-28"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  6. docs/en/docs/deployment/docker.md

    7. Set the current working directory to `/code`.
    
    8. Copy the `requirements.txt` file to the `/code` directory.
    
        This file only lives in the previous Docker stage, that's why we use `--from-requirements-stage` to copy it.
    
    9. Install the package dependencies in the generated `requirements.txt` file.
    
    10. Copy the `app` directory to the `/code` directory.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  7. docs/recipes.md

            }
          }
        ```
    
    ### Per-call Configuration ([.kt][PerCallSettingsKotlin], [.java][PerCallSettingsJava])
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  8. docs/de/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/body-nested-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="12"
        {!> ../../../docs_src/body_nested_models/tutorial002_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. docs/ru/docs/contributing.md

    ```YAML hl_lines="5"
    site_name: FastAPI
    # More stuff
    theme:
      # More stuff
      language: xx
    ```
    
    Измените `xx` (код Вашего языка) на `en` и перезапустите сервер.
    
    #### Предпросмотр результата
    
    Когда Вы запускаете скрипт `./scripts/docs.py` с командой `live`, то будут показаны файлы и переводы для указанного языка.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top