Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 924 for docs_src (0.1 sec)

  1. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007_py39.py hl[2:4] *}
    
    El valor generado es lo que se inyecta en *path operations* y otras dependencias:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[4] *}
    
    El código posterior a la declaración `yield` se ejecuta después del response:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Consejo
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/handling-errors.md

    ### `HTTPException` importieren { #import-httpexception }
    
    {* ../../docs_src/handling_errors/tutorial001_py39.py hl[1] *}
    
    ### Eine `HTTPException` in Ihrem Code auslösen { #raise-an-httpexception-in-your-code }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/body-multiple-params.md

    Y también puedes declarar parámetros del cuerpo como opcionales, estableciendo el valor por defecto a `None`:
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note | Nota
    
    Ten en cuenta que, en este caso, el `item` que se tomaría del cuerpo es opcional. Ya que tiene un valor por defecto de `None`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. docs/fr/docs/tutorial/body.md

    Commencez par importer la classe `BaseModel` du module `pydantic` :
    
    {* ../../docs_src/body/tutorial001.py hl[4] *}
    
    ## Créez votre modèle de données
    
    Déclarez ensuite votre modèle de données en tant que classe qui hérite de `BaseModel`.
    
    Utilisez les types Python standard pour tous les attributs :
    
    {* ../../docs_src/body/tutorial001.py hl[7:11] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/ru/docs/advanced/events.md

    Начнем с примера, а затем разберём его подробнее.
    
    Мы создаём асинхронную функцию `lifespan()` с `yield` примерно так:
    
    {* ../../docs_src/events/tutorial003_py39.py hl[16,19] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body.md

    First, you need to import `BaseModel` from `pydantic`:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[2] *}
    
    ## Create your data model { #create-your-data-model }
    
    Then you declare your data model as a class that inherits from `BaseModel`.
    
    Use standard Python types for all the attributes:
    
    {* ../../docs_src/body/tutorial001_py310.py hl[5:9] *}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/websockets.md

    Mas é a maneira mais simples de focar no lado do servidor de WebSockets e ter um exemplo funcional:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[2,6:38,41:43] *}
    
    ## Crie um `websocket` { #create-a-websocket }
    
    Em sua aplicação **FastAPI**, crie um `websocket`:
    
    {* ../../docs_src/websockets/tutorial001_py39.py hl[1,46:47] *}
    
    /// note | Detalhes Técnicos
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/header-param-models.md

    ///
    
    ## Header-параметры в виде Pydantic-модели { #header-parameters-with-a-pydantic-model }
    
    Объявите нужные **header-параметры** в **Pydantic-модели** и затем аннотируйте параметр как `Header`:
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    **FastAPI** **извлечёт** данные для **каждого поля** из **заголовков** запроса и выдаст заданную вами Pydantic-модель.
    
    ## Проверьте документацию { #check-the-docs }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/first-steps.md

    ### 1 단계: `FastAPI` 임포트
    
    {* ../../docs_src/first_steps/tutorial001.py hl[1] *}
    
    `FastAPI`는 당신의 API를 위한 모든 기능을 제공하는 파이썬 클래스입니다.
    
    /// note | 기술 세부사항
    
    `FastAPI`는 `Starlette`를 직접 상속하는 클래스입니다.
    
    `FastAPI`로 <a href="https://www.starlette.dev/" class="external-link" target="_blank">Starlette</a>의 모든 기능을 사용할 수 있습니다.
    
    ///
    
    ### 2 단계: `FastAPI` "인스턴스" 생성
    
    {* ../../docs_src/first_steps/tutorial001.py hl[3] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/templates.md

    ```jinja hl_lines="4"
    {!../../docs_src/templates/templates/item.html!}
    ```
    
    En este ejemplo, enlazaría a un archivo CSS en `static/styles.css` con:
    
    ```CSS hl_lines="4"
    {!../../docs_src/templates/static/styles.css!}
    ```
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top