Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 575 for tutorial012_py39 (0.07 sec)

  1. docs_src/dependencies/tutorial012_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
    - 696 bytes
    - Viewed (0)
  2. docs_src/python_types/tutorial012_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
    - 122 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_python_types/test_tutorial012.py

    from docs_src.python_types.tutorial012_py39 import User
    
    
    def test_user():
        user = User(name="John Doe", age=30)
        assert user.name == "John Doe"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 177 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial012_py39"),
            pytest.param("tutorial012_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(
            f"docs_src.query_params_str_validations.{request.param}"
        )
    
        client = TestClient(mod.app)
        return client
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial012.py

    import importlib
    
    import pytest
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="client",
        params=[
            pytest.param("tutorial012_py39"),
            pytest.param("tutorial012_an_py39"),
        ],
    )
    def get_client(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. docs/es/docs/advanced/custom-response.md

    {* ../../docs_src/response_directly/tutorial002_py39.py hl[1,18] *}
    
    ### `HTMLResponse` { #htmlresponse }
    
    Toma algún texto o bytes y devuelve un response HTML, como leíste arriba.
    
    ### `PlainTextResponse` { #plaintextresponse }
    
    Toma algún texto o bytes y devuelve un response de texto plano.
    
    {* ../../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
    - 13.2K bytes
    - Viewed (0)
  10. 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)
Back to top