Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for tutorial001_02_py39 (0.09 sec)

  1. docs/en/docs/tutorial/response-model.md

    The most common case would be [returning a Response directly as explained later in the advanced docs](../advanced/response-directly.md){.internal-link target=_blank}.
    
    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/response-model.md

    O caso mais comum seria [retornar uma Response diretamente, conforme explicado posteriormente na documentação avançada](../advanced/response-directly.md){.internal-link target=_blank}.
    
    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    Este caso simples é tratado automaticamente pelo FastAPI porque a anotação do tipo de retorno é a classe (ou uma subclasse de) `Response`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/request-files.md

    ///
    
    ## Імпорт `File`
    
    Імпортуйте `File` та `UploadFile` з `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Визначення параметрів `File`
    
    Створіть параметри файлів так само як Ви б створювали `Body` або `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Інформація
    
    `File`  — це клас, який безпосередньо успадковує `Form`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Feb 22 22:01:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/request-files.md

    Импортируйте `File` и `UploadFile` из модуля `fastapi`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[3] *}
    
    ## Определите параметры `File` { #define-file-parameters }
    
    Создайте параметры `File` так же, как вы это делаете для `Body` или `Form`:
    
    {* ../../docs_src/request_files/tutorial001_an_py39.py hl[9] *}
    
    /// info | Дополнительная информация
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/response-model.md

    Самый распространённый случай — [возвращать Response напрямую, как описано далее в разделах для продвинутых](../advanced/response-directly.md){.internal-link target=_blank}.
    
    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    Этот простой случай обрабатывается FastAPI автоматически, потому что аннотация возвращаемого типа — это класс (или подкласс) `Response`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/security/first-steps.md

    Сначала просто воспользуемся кодом и посмотрим, как он работает, а затем вернемся и разберемся, что происходит.
    
    ## Создание `main.py` { #create-main-py }
    
    Скопируйте пример в файл `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py *}
    
    ## Запуск { #run-it }
    
    /// info | Дополнительная информация
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/security/first-steps.md

    ## `main.py` erstellen { #create-main-py }
    
    Kopieren Sie das Beispiel in eine Datei `main.py`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py *}
    
    ## Ausführen { #run-it }
    
    /// info | Info
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    Dieser einfache Anwendungsfall wird automatisch von FastAPI gehandhabt, weil die Annotation des Rückgabetyps die Klasse (oder eine Unterklasse von) `Response` ist.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/response-model.md

    El caso más común sería [devolver un Response directamente como se explica más adelante en la documentación avanzada](../advanced/response-directly.md){.internal-link target=_blank}.
    
    {* ../../docs_src/response_model/tutorial003_02_py39.py hl[8,10:11] *}
    
    Este caso simple es manejado automáticamente por FastAPI porque la anotación del tipo de retorno es la clase (o una subclase de) `Response`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_sql_databases/test_tutorial001.py

        default_registry.dispose()
    
    
    @pytest.fixture(
        name="client",
        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_client(request: pytest.FixtureRequest):
        clear_sqlmodel()
        # TODO: remove when updating SQL tutorial to use new lifespan API
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top