Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for trigger (0.2 sec)

  1. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        {!> ../../../docs_src/dependencies/tutorial006.py!}
        ```
    
    ## Dependencies for a group of *path operations*
    
    Later, when reading about how to structure bigger applications ([Bigger Applications - Multiple Files](../../tutorial/bigger-applications.md){.internal-link target=_blank}), possibly with multiple files, you will learn how to declare a single `dependencies` parameter for a group of *path operations*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    つまり、すでにどこかで使っている通常の依存関係(値を返すもの)を再利用することができ、値は使われなくても依存関係は実行されます:
    
    ```Python hl_lines="9 14"
    {!../../../docs_src/dependencies/tutorial006.py!}
    ```
    
    ## *path operations*のグループに対する依存関係
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 15 16:44:28 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        {!> ../../../docs_src/dependencies/tutorial006.py!}
        ```
    
    ## Dependencies для группы *операций путей*
    
    Позже, читая о том как структурировать большие приложения ([Bigger Applications - Multiple Files](../../tutorial/bigger-applications.md){.internal-link target=_blank}), возможно, многофайловые, вы узнаете как объявить единый параметр `dependencies` для всей группы *операций путей*.
    
    ## Глобальный Dependencies
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 06 15:43:55 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

        ```
    
    ## Abhängigkeiten für eine Gruppe von *Pfadoperationen*
    
    Wenn Sie später lesen, wie Sie größere Anwendungen strukturieren ([Größere Anwendungen – Mehrere Dateien](../../tutorial/bigger-applications.md){.internal-link target=_blank}), möglicherweise mit mehreren Dateien, lernen Sie, wie Sie einen einzelnen `dependencies`-Parameter für eine Gruppe von *Pfadoperationen* deklarieren.
    
    ## Globale Abhängigkeiten
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:16 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. docs/de/docs/advanced/settings.md

    ## Einstellungen in einem anderen Modul
    
    Sie könnten diese Einstellungen in eine andere Moduldatei einfügen, wie Sie in [Größere Anwendungen – mehrere Dateien](../tutorial/bigger-applications.md){.internal-link target=_blank} gesehen haben.
    
    Sie könnten beispielsweise eine Datei `config.py` haben mit:
    
    ```Python
    {!../../../docs_src/settings/app01/config.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/testing.md

    Und Ihre **FastAPI**-Anwendung könnte auch aus mehreren Dateien/Modulen, usw. bestehen.
    
    ### **FastAPI** Anwendungsdatei
    
    Nehmen wir an, Sie haben eine Dateistruktur wie in [Größere Anwendungen](bigger-applications.md){.internal-link target=_blank} beschrieben:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    In der Datei `main.py` haben Sie Ihre **FastAPI**-Anwendung:
    
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:20:01 GMT 2024
    - 7K bytes
    - Viewed (0)
  7. docs/en/mkdocs.yml

          - tutorial/security/simple-oauth2.md
          - tutorial/security/oauth2-jwt.md
        - tutorial/middleware.md
        - tutorial/cors.md
        - tutorial/sql-databases.md
        - tutorial/bigger-applications.md
        - tutorial/background-tasks.md
        - tutorial/metadata.md
        - tutorial/static-files.md
        - tutorial/testing.md
        - tutorial/debugging.md
      - Advanced User Guide:
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. docs/zh/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 May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 31.2K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_bigger_applications/test_main.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.bigger_applications.app.main import app
    
        client = TestClient(app)
        return client
    
    
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
Back to top