Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for tutorial001_03_py39 (0.57 sec)

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

    ### Annotate a Response Subclass { #annotate-a-response-subclass }
    
    You can also use a subclass of `Response` in the type annotation:
    
    {* ../../docs_src/response_model/tutorial003_03_py39.py hl[8:9] *}
    
    This will also work because `RedirectResponse` is a subclass of `Response`, and FastAPI will automatically handle this simple case.
    
    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

    ### Anote uma subclasse de Response { #annotate-a-response-subclass }
    
    Você também pode usar uma subclasse de `Response` na anotação de tipo:
    
    {* ../../docs_src/response_model/tutorial003_03_py39.py hl[8:9] *}
    
    Isso também funcionará porque `RedirectResponse` é uma subclasse de `Response`, e o FastAPI tratará automaticamente este caso simples.
    
    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/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)
  6. docs/ru/docs/tutorial/response-model.md

    ### Аннотировать подкласс Response { #annotate-a-response-subclass }
    
    Вы также можете использовать подкласс `Response` в аннотации типа:
    
    {* ../../docs_src/response_model/tutorial003_03_py39.py hl[8:9] *}
    
    Это тоже сработает, так как `RedirectResponse` — подкласс `Response`, и FastAPI автоматически обработает этот случай.
    
    ### Некорректные аннотации возвращаемых типов { #invalid-return-type-annotations }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K 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

    ### Eine Unterklasse von Response annotieren { #annotate-a-response-subclass }
    
    Sie können auch eine Unterklasse von `Response` in der Typannotation verwenden.
    
    {* ../../docs_src/response_model/tutorial003_03_py39.py hl[8:9] *}
    
    Das wird ebenfalls funktionieren, weil `RedirectResponse` eine Unterklasse von `Response` ist, und FastAPI sich um diesen einfachen Anwendungsfall automatisch kümmert.
    
    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

    ### Anotar una Subclase de Response { #annotate-a-response-subclass }
    
    También puedes usar una subclase de `Response` en la anotación del tipo:
    
    {* ../../docs_src/response_model/tutorial003_03_py39.py hl[8:9] *}
    
    Esto también funcionará porque `RedirectResponse` es una subclase de `Response`, y FastAPI manejará automáticamente este caso simple.
    
    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