Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for Digges (0.18 sec)

  1. docs/en/docs/advanced/settings.md

    And the `items_per_user` would keep its default value of `50`.
    
    ## Settings in another module
    
    You could put those settings in another module file as you saw in [Bigger Applications - Multiple Files](../tutorial/bigger-applications.md){.internal-link target=_blank}.
    
    For example, you could have a file `config.py` with:
    
    ```Python
    {!../../../docs_src/settings/app01/config.py!}
    ```
    
    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)
  2. docs/zh/docs/advanced/settings.md

    然后,`admin_email` 设置将为 `"******@****.***"`。
    
    `app_name` 将为 `"ChimichangApp"`。
    
    而 `items_per_user` 将保持其默认值为 `50`。
    
    ## 在另一个模块中设置
    
    您可以将这些设置放在另一个模块文件中,就像您在[Bigger Applications - Multiple Files](../tutorial/bigger-applications.md){.internal-link target=_blank}中所见的那样。
    
    例如,您可以创建一个名为 `config.py` 的文件,其中包含以下内容:
    
    ```Python
    {!../../../docs_src/settings/app01/config.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  3. docs/em/docs/deployment/docker.md

    COPY ./requirements.txt /app/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
    
    COPY ./app /app
    ```
    
    ### 🦏 🈸
    
    🚥 👆 ⏩ 📄 🔃 🏗 [🦏 🈸 ⏮️ 💗 📁](../tutorial/bigger-applications.md){.internal-link target=_blank}, 👆 `Dockerfile` 💪 ↩️ 👀 💖:
    
    ```Dockerfile hl_lines="7"
    FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
    
    COPY ./requirements.txt /app/requirements.txt
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 27.9K bytes
    - Viewed (0)
  4. docs/ja/docs/deployment/docker.md

    COPY ./requirements.txt /app/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
    
    COPY ./app /app
    ```
    
    ### より大きなアプリケーション
    
    [複数のファイルを持つ大きなアプリケーション](../tutorial/bigger-applications.md){.internal-link target=_blank}を作成するセクションに従った場合、`Dockerfile`は次のようになります:
    
    ```Dockerfile hl_lines="7"
    FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
    
    COPY ./requirements.txt /app/requirements.txt
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 44.3K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *Pfadoperationen* mit `APIRouter`
    
    Und dann verwenden Sie ihn, um Ihre *Pfadoperationen* zu deklarieren.
    
    Verwenden Sie ihn auf die gleiche Weise wie die Klasse `FastAPI`:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    ### *➡ 🛠️* ⏮️ `APIRouter`
    
    & ⤴️ 👆 ⚙️ ⚫️ 📣 👆 *➡ 🛠️*.
    
    ⚙️ ⚫️ 🎏 🌌 👆 🔜 ⚙️ `FastAPI` 🎓:
    
    ```Python hl_lines="6  11  16" title="app/routers/users.py"
    {!../../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    👆 💪 💭 `APIRouter` "🐩 `FastAPI`" 🎓.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  7. docs_src/bigger_applications/app_an/main.py

        prefix="/admin",
        tags=["admin"],
        dependencies=[Depends(get_token_header)],
        responses={418: {"description": "I'm a teapot"}},
    )
    
    
    @app.get("/")
    async def root():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 552 bytes
    - Viewed (0)
  8. docs/en/docs/advanced/async-tests.md

    ## Example
    
    For a simple example, let's consider a file structure similar to the one described in [Bigger Applications](../tutorial/bigger-applications.md){.internal-link target=_blank} and [Testing](../tutorial/testing.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/dependencies/global-dependencies.md

    & 🌐 💭 📄 🔃 [❎ `dependencies` *➡ 🛠️ 👨‍🎨*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} ✔, ✋️ 👉 💼, 🌐 *➡ 🛠️* 📱.
    
    ## 🔗 👪 *➡ 🛠️*
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 828 bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    无论路径装饰器依赖项是否返回值,路径操作都不会使用这些值。
    
    因此,可以复用在其他位置使用过的、(能返回值的)普通依赖项,即使没有使用这个值,也会执行该依赖项:
    
    ```Python hl_lines="9  14"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ## 为一组路径操作定义依赖项
    
    稍后,[大型应用 - 多文件](../../tutorial/bigger-applications.md){.internal-link target=\_blank}一章中会介绍如何使用多个文件创建大型应用程序,在这一章中,您将了解到如何为一组*路径操作*声明单个 `dependencies` 参数。
    
    ## 全局依赖项
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 2.7K bytes
    - Viewed (0)
Back to top