Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 406 for tutorial009c_py39 (0.06 sec)

  1. docs_src/python_types/tutorial009c_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
    - 89 bytes
    - Viewed (0)
  2. docs_src/custom_response/tutorial009c_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
    - 451 bytes
    - Viewed (0)
  3. tests/test_tutorial/test_python_types/test_tutorial009c.py

    from types import ModuleType
    from unittest.mock import patch
    
    import pytest
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009c_py39"),
            pytest.param("tutorial009c_py310", marks=needs_py310),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.python_types.{request.param}")
        return mod
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 777 bytes
    - Viewed (0)
  4. tests/test_tutorial/test_custom_response/test_tutorial009c.py

    from fastapi.testclient import TestClient
    
    from docs_src.custom_response.tutorial009c_py39 import app
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 244 bytes
    - Viewed (0)
  5. docs/en/docs/advanced/custom-response.md

    File responses will include appropriate `Content-Length`, `Last-Modified` and `ETag` headers.
    
    {* ../../docs_src/custom_response/tutorial009_py39.py hl[2,10] *}
    
    You can also use the `response_class` parameter:
    
    {* ../../docs_src/custom_response/tutorial009b_py39.py hl[2,8,10] *}
    
    In this case, you can return the file path directly from your *path operation* function.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. docs/de/docs/advanced/custom-response.md

    Datei-Responses enthalten die entsprechenden `Content-Length`-, `Last-Modified`- und `ETag`-Header.
    
    {* ../../docs_src/custom_response/tutorial009_py39.py hl[2,10] *}
    
    Sie können auch den Parameter `response_class` verwenden:
    
    {* ../../docs_src/custom_response/tutorial009b_py39.py hl[2,8,10] *}
    
    In diesem Fall können Sie den Dateipfad direkt von Ihrer *Pfadoperation*-Funktion zurückgeben.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. docs/ru/docs/python-types.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ альтернативный вариант
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b_py39.py!}
    ```
    
    ////
    
    #### Использовать `Union` или `Optional` { #using-union-or-optional }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. docs/de/docs/python-types.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ Alternative
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b_py39.py!}
    ```
    
    ////
    
    #### `Union` oder `Optional` verwenden? { #using-union-or-optional }
    
    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/ru/docs/advanced/custom-response.md

    Файловые ответы будут содержать соответствующие заголовки `Content-Length`, `Last-Modified` и `ETag`.
    
    {* ../../docs_src/custom_response/tutorial009_py39.py hl[2,10] *}
    
    Вы также можете использовать параметр `response_class`:
    
    {* ../../docs_src/custom_response/tutorial009b_py39.py hl[2,8,10] *}
    
    В этом случае вы можете возвращать путь к файлу напрямую из своей функции-обработчика пути.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/custom-response.md

    Los responses de archivos incluirán los headers apropiados `Content-Length`, `Last-Modified` y `ETag`.
    
    {* ../../docs_src/custom_response/tutorial009_py39.py hl[2,10] *}
    
    También puedes usar el parámetro `response_class`:
    
    {* ../../docs_src/custom_response/tutorial009b_py39.py hl[2,8,10] *}
    
    En este caso, puedes devolver la path del archivo directamente desde tu *path operation* function.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top