Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Digges (0.16 sec)

  1. docs_src/bigger_applications/app/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 May 05 07:19:11 GMT 2024
    - Last Modified: Sun Nov 29 17:32:18 GMT 2020
    - 552 bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/dependencies/global-dependencies.md

    ## Зависимости для групп *операций пути*
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/testing.md

    And your **FastAPI** application might also be composed of several files/modules, etc.
    
    ### **FastAPI** app file
    
    Let's say you have a file structure as described in [Bigger Applications](bigger-applications.md){.internal-link target=_blank}:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. docs/en/docs/benchmarks.md

        * So, by using FastAPI you are saving development time, bugs, lines of code, and you would probably get the same performance (or better) you would if you didn't use it (as you would have to implement...
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  5. docs/em/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 May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  6. docs/ko/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 May 05 07:19:11 GMT 2024
    - Last Modified: Sun Feb 11 13:49:45 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main_an.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_an.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)
  8. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

    import pytest
    from dirty_equals import IsDict
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.bigger_applications.app_an_py39.main import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  9. docs/fr/docs/deployment/docker.md

    ```Dockerfile
    FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
    
    COPY ./app /app
    ```
    
    ### Applications plus larges
    
    Si vous avez suivi la section sur la création d' [Applications avec plusieurs fichiers](../tutorial/bigger-applications.md){.internal-link target=_blank}, votre `Dockerfile` pourrait ressembler à ceci :
    
    ```Dockerfile
    FROM tiangolo/uvicorn-gunicorn-fastapi:python3.7
    
    COPY ./app /app/app
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 12 00:06:16 GMT 2022
    - 7.5K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/generate-clients.md

    The response object will also have autocompletion:
    
    <img src="/img/tutorial/generate-clients/image05.png">
    
    ## FastAPI App with Tags
    
    In many cases your FastAPI app will be bigger, and you will probably use tags to separate different groups of *path operations*.
    
    For example, you could have a section for **items** and another section for **users**, and they could be separated by tags:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top