Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 555 for lives (0.16 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. 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)
  4. 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)
  5. 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)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    === "Python 3.10+"
    
        ```Python hl_lines="7  48  55-56  59-60  69-75"
        {!> ../../../docs_src/security/tutorial004_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="7  48  55-56  59-60  69-75"
        {!> ../../../docs_src/security/tutorial004_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="7  49  56-57  60-61  70-76"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  7. docs/pt/docs/contributing.md

    ```YAML hl_lines="5"
    site_name: FastAPI
    # Mais coisas
    theme:
      # Mais coisas
      language: xx
    ```
    
    Altere essa linguagem de `xx` (do seu código de linguagem) para `en`.
    
    Então você poderá iniciar novamente o _servidor ao vivo_.
    
    #### Pré-visualize o resultado
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/query-params-str-validations.md

    === "Python 3.10+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 38K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/header-params.md

    Сперва импортируйте `Header`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="3"
        {!> ../../../docs_src/header_params/tutorial001_an.py!}
        ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/query-params-str-validations.md

    === "Python 3.10+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_an_py310.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python hl_lines="10"
        {!> ../../../docs_src/query_params_str_validations/tutorial003_an_py39.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="11"
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 17:58:59 GMT 2024
    - 27.7K bytes
    - Viewed (0)
Back to top