Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 177 for tutorial001_01_py310 (0.1 sec)

  1. docs/de/docs/tutorial/dependencies/index.md

    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *}
    
    ### Die Abhängigkeit im <abbr title="Das Abhängige, der Verwender der Abhängigkeit">„Dependant“</abbr> deklarieren { #declare-the-dependency-in-the-dependant }
    
    So wie auch `Body`, `Query`, usw., verwenden Sie `Depends` mit den Parametern Ihrer *Pfadoperation-Funktion*:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    If there's no `gzip` in the header, it will not try to decompress the body.
    
    That way, the same route class can handle gzip compressed or uncompressed requests.
    
    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[9:16] *}
    
    ### Create a custom `GzipRoute` class { #create-a-custom-gziproute-class }
    
    Next, we create a custom subclass of `fastapi.routing.APIRoute` that will make use of the `GzipRequest`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/cookie-param-models.md

    Deklarieren Sie die **Cookie**-Parameter, die Sie benötigen, in einem **Pydantic-Modell**, und deklarieren Sie dann den Parameter als `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/cookie-param-models.md

    ## Pydantic-модель для cookies { #cookies-with-a-pydantic-model }
    
    Объявите параметры **cookie**, которые вам нужны, в **Pydantic-модели**, а затем объявите параметр как `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** **извлечёт** данные для **каждого поля** из **cookies**, полученных в запросе, и выдаст вам объявленную Pydantic-модель.
    
    ## Проверка сгенерированной документации { #check-the-docs }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 21:25:03 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_testing_dependencies/test_tutorial001.py

    @pytest.fixture(
        name="test_module",
        params=[
            pytest.param("tutorial001_py39"),
            pytest.param("tutorial001_py310", marks=needs_py310),
            pytest.param("tutorial001_an_py39"),
            pytest.param("tutorial001_an_py310", marks=needs_py310),
        ],
    )
    def get_test_module(request: pytest.FixtureRequest) -> ModuleType:
        mod: ModuleType = importlib.import_module(
            f"docs_src.dependency_testing.{request.param}"
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial001_02.py

    from inline_snapshot import snapshot
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial001_02_py39"),
            pytest.param("tutorial001_02_py310", marks=needs_py310),
            pytest.param("tutorial001_02_an_py39"),
            pytest.param("tutorial001_02_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/cookie-param-models.md

    Declare o parâmetro de **cookie** que você precisa em um **modelo Pydantic**, e depois declare o parâmetro como um `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    O **FastAPI** irá **extrair** os dados para **cada campo** dos **cookies** recebidos na requisição e lhe fornecer o modelo Pydantic que você definiu.
    
    ## Verifique a Documentação { #check-the-docs }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 20:32:40 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/cookie-param-models.md

    Declara los parámetros de **cookie** que necesites en un **modelo de Pydantic**, y luego declara el parámetro como `Cookie`:
    
    {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *}
    
    **FastAPI** **extraerá** los datos para **cada campo** de las **cookies** recibidas en el request y te entregará el modelo de Pydantic que definiste.
    
    ## Revisa la Documentación { #check-the-docs }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ## `dict` из предыдущего примера { #a-dict-from-the-previous-example }
    
    В предыдущем примере мы возвращали `dict` из нашей зависимости:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    Но затем мы получаем `dict` в параметре `commons` *функции-обработчика пути*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/query-param-models.md

    ## Pydantic-Модель для Query-Параметров { #query-parameters-with-a-pydantic-model }
    
    Объявите нужные **query-параметры** в **Pydantic-модели**, а после аннотируйте параметр как `Query`:
    
    {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *}
    
    **FastAPI извлечёт** данные соответствующие **каждому полю модели** из **query-параметров** запроса и выдаст вам объявленную Pydantic-модель заполненную ими.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top