Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 312 for tutorial006c_py310 (0.59 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    It won't show up in the documentation, but other tools (such as Sphinx) will be able to use the rest.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Additional Responses { #additional-responses }
    
    You probably have seen how to declare the `response_model` and `status_code` for a *path operation*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial004.py

    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="mod",
        params=[
            pytest.param("tutorial004_py39"),
            pytest.param("tutorial004_py310", marks=needs_py310),
            pytest.param("tutorial004_an_py39"),
            pytest.param("tutorial004_an_py310", marks=needs_py310),
        ],
    )
    def get_mod(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial002_py39"),
            pytest.param("tutorial002_py310", marks=needs_py310),
            pytest.param("tutorial002_an_py39"),
            pytest.param("tutorial002_an_py310", marks=needs_py310),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. docs/es/docs/advanced/path-operation-advanced-configuration.md

    No aparecerá en la documentación, pero otras herramientas (como Sphinx) podrán usar el resto.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Responses Adicionales { #additional-responses }
    
    Probablemente has visto cómo declarar el `response_model` y el `status_code` para una *path operation*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. docs/pt/docs/advanced/path-operation-advanced-configuration.md

    Ele não será mostrado na documentação, mas outras ferramentas (como o Sphinx) serão capazes de utilizar o resto do texto.
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Respostas Adicionais { #additional-responses }
    
    Você provavelmente já viu como declarar o `response_model` e `status_code` para uma *operação de rota*.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/query-params-str-validations.md

    # 查询参数和字符串校验
    
    **FastAPI** 允许你为参数声明额外的信息和校验。
    
    让我们以下面的应用程序为例:
    
    {* ../../docs_src/query_params_str_validations/tutorial001_py310.py hl[7] *}
    
    查询参数 `q` 的类型为 `str`,默认值为 `None`,因此它是可选的。
    
    ## 额外的校验
    
    我们打算添加约束条件:即使 `q` 是可选的,但只要提供了该参数,则该参数值**不能超过50个字符的长度**。
    
    ### 导入 `Query`
    
    为此,首先从 `fastapi` 导入 `Query`:
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[1] *}
    
    ## 使用 `Query` 作为默认值
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 15 16:23:59 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. docs/ru/docs/advanced/custom-response.md

    ---
    
    Также вы можете использовать параметр `status_code` в сочетании с параметром `response_class`:
    
    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Принимает асинхронный генератор или обычный генератор/итератор и отправляет тело ответа потоково.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/custom-response.md

    ---
    
    También puedes usar el parámetro `status_code` combinado con el parámetro `response_class`:
    
    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Toma un generador `async` o un generador/iterador normal y transmite el cuerpo del response.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/custom-response.md

    ---
    
    You can also use the `status_code` parameter combined with the `response_class` parameter:
    
    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Takes an async generator or a normal generator/iterator and streams the response body.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. docs/de/docs/advanced/custom-response.md

    ---
    
    Sie können den Parameter `status_code` auch in Kombination mit dem Parameter `response_class` verwenden:
    
    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Nimmt einen asynchronen Generator oder einen normalen Generator/Iterator und streamt den Responsebody.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top