Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 176 of 176 for tutorial002_an_py310 (0.42 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

    from dirty_equals import IsDict
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py39
    
    
    @pytest.fixture(name="app")
    def get_app():
        from docs_src.request_files.tutorial002_an_py39 import app
    
        return app
    
    
    @pytest.fixture(name="client")
    def get_client(app: FastAPI):
        client = TestClient(app)
        return client
    
    
    @needs_py39
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/schema-extra-example.md

    ## `Body` 额外参数
    
    你可以通过传递额外信息给 `Field` 同样的方式操作`Path`, `Query`, `Body`等。
    
    比如,你可以将请求体的一个 `example` 传递给 `Body`:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="22-27"
    {!> ../../docs_src/schema_extra_example/tutorial003_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="22-27"
    {!> ../../docs_src/schema_extra_example/tutorial003_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial001.py

            pytest.param("tutorial001_py310", marks=needs_py310),
            "tutorial001_an",
            pytest.param("tutorial001_an_py39", marks=needs_py39),
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/request-files.md

    Для этого необходимо объявить список `bytes` или `UploadFile`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.6+
    
    ```Python hl_lines="11  16"
    {!> ../../docs_src/request_files/tutorial002_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ без Annotated
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/request_files.md

    Para usar isso, declare uma lista de `bytes` ou `UploadFile`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11  16"
    {!> ../../docs_src/request_files/tutorial002_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/request-files.md

    Um das zu machen, deklarieren Sie eine Liste von `bytes` oder `UploadFile`s:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11  16"
    {!> ../../docs_src/request_files/tutorial002_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ nicht annotiert
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top