Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 561 for tutorial011_py39 (0.06 sec)

  1. docs_src/dependencies/tutorial011_py39.py

    Sebastián Ramírez <******@****.***> 1766004103 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 504 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_python_types/test_tutorial011.py

    import runpy
    from unittest.mock import patch
    
    import pytest
    
    from ...utils import needs_py310
    
    
    @pytest.mark.parametrize(
        "module_name",
        [
            pytest.param("tutorial011_py39"),
            pytest.param("tutorial011_py310", marks=needs_py310),
        ],
    )
    def test_run_module(module_name: str):
        with patch("builtins.print") as mock_print:
            runpy.run_module(f"docs_src.python_types.{module_name}", run_name="__main__")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 691 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial011_py39"),
            pytest.param("tutorial011_py310", marks=needs_py310),
            pytest.param("tutorial011_an_py39"),
            pytest.param("tutorial011_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
    - 3.9K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_dependencies/test_tutorial011.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            "tutorial011_py39",
            pytest.param("tutorial011_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    @pytest.mark.parametrize(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. docs/ru/docs/python-types.md

    Вы также можете объявлять класс как тип переменной.
    
    Допустим, у вас есть класс `Person` с именем:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *}
    
    Тогда вы можете объявить переменную типа `Person`:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *}
    
    И снова вы получите полную поддержку редактора кода:
    
    <img src="/img/python-types/image06.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. docs/de/docs/python-types.md

    Nehmen wir an, Sie haben eine Klasse `Person`, mit einem Namen:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[1:3] *}
    
    Dann können Sie eine Variable vom Typ `Person` deklarieren:
    
    {* ../../docs_src/python_types/tutorial010_py39.py hl[6] *}
    
    Und wiederum bekommen Sie die volle Editor-Unterstützung:
    
    <img src="/img/python-types/image06.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.9K bytes
    - Viewed (1)
  7. docs/ru/docs/tutorial/metadata.md

    Вы можете задать их следующим образом:
    
    {* ../../docs_src/metadata/tutorial001_py39.py hl[3:16, 19:32] *}
    
    /// tip | Подсказка
    
    Вы можете использовать Markdown в поле `description`, и оно будет отображено в выводе.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. docs/ru/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002_py39.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Принимает текст или байты и возвращает HTML-ответ, как описано выше.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Принимает текст или байты и возвращает ответ в виде простого текста.
    
    {* ../../docs_src/custom_response/tutorial005_py39.py hl[2,7,9] *}
    
    ### `JSONResponse` { #jsonresponse }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002_py39.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Usa algum texto ou sequência de bytes e retorna uma resposta HTML. Como você leu acima.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Usa algum texto ou sequência de bytes para retornar uma resposta de texto não formatado.
    
    {* ../../docs_src/custom_response/tutorial005_py39.py hl[2,7,9] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/path-params.md

    {* ../../docs_src/path_params/tutorial005_py39.py hl[17] *}
    
    #### *Enumerations-Wert* erhalten { #get-the-enumeration-value }
    
    Den tatsächlichen Wert (in diesem Fall ein `str`) erhalten Sie via `model_name.value`, oder generell, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py39.py hl[20] *}
    
    /// tip | Tipp
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top