Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 455 for tip (0.01 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/de/docs/tutorial/query-param-models.md

                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Zusammenfassung { #summary }
    
    Sie können **Pydantic-Modelle** verwenden, um **Query-Parameter** in **FastAPI** zu deklarieren. 😎
    
    /// tip | Tipp
    
    Spoiler-Alarm: Sie können auch Pydantic-Modelle verwenden, um Cookies und Header zu deklarieren, aber darüber werden Sie später im Tutorial lesen. 🤫
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/body-fields.md

    Пам'ятайте, що коли ви імпортуєте 'Query', 'Path' та інше з 'fastapi', вони фактично є функціями, які повертають спеціальні класи.
    
    ///
    
    /// tip
    
    Зверніть увагу, що кожен атрибут моделі із типом, значенням за замовчуванням та `Field` має ту саму структуру, що й параметр *функції обробки шляху*, з `Field` замість `Path`, `Query` і `Body`.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/query-param-models.md

                "input": "plumbus"
            }
        ]
    }
    ```
    
    ## Summary { #summary }
    
    You can use **Pydantic models** to declare **query parameters** in **FastAPI**. 😎
    
    /// tip
    
    Spoiler alert: you can also use Pydantic models to declare cookies and headers, but you will read about that later in the tutorial. 🤫
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 09:15:41 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. docs/es/docs/how-to/authentication-error-status-code.md

    Por ejemplo, puedes crear una subclase de `HTTPBearer` que devuelva un error `403 Forbidden` en lugar del `401 Unauthorized` por defecto:
    
    {* ../../docs_src/authentication_error_status_code/tutorial001_an_py39.py hl[9:13] *}
    
    /// tip | Consejo
    
    Ten en cuenta que la función devuelve la instance de la excepción, no la lanza. El lanzamiento se hace en el resto del código interno.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:16:35 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. docs/en/docs/advanced/events.md

    And then, right after the `yield`, we unload the model. This code will be executed **after** the application **finishes handling requests**, right before the *shutdown*. This could, for example, release resources like memory or a GPU.
    
    /// tip
    
    The `shutdown` would happen when you are **stopping** the application.
    
    Maybe you need to start a new version, or you just got tired of running it. 🤷
    
    ///
    
    ### Lifespan function { #lifespan-function }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  6. docs/pt/docs/advanced/events.md

    /// tip | Dica
    
    O `shutdown` aconteceria quando você estivesse **encerrando** a aplicação.
    
    Talvez você precise iniciar uma nova versão, ou apenas cansou de executá-la. 🤷
    
    ///
    
    ### Função lifespan { #lifespan-function }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  7. docs/de/docs/advanced/websockets.md

    Dort können Sie einstellen:
    
    * Die „Item ID“, die im Pfad verwendet wird.
    * Das „Token“, das als Query-Parameter verwendet wird.
    
    /// tip | Tipp
    
    Beachten Sie, dass die Query `token` von einer Abhängigkeit verarbeitet wird.
    
    ///
    
    Damit können Sie den WebSocket verbinden und dann Nachrichten senden und empfangen:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  8. docs/zh/docs/tutorial/metadata.md

    你可以按如下方式设置它们:
    
    {* ../../docs_src/metadata/tutorial001.py hl[4:6] *}
    
    /// tip
    
    您可以在 `description` 字段中编写 Markdown,它将在输出中呈现。
    
    ///
    
    通过这样设置,自动 API 文档看起来会像:
    
    <img src="/img/tutorial/metadata/image01.png">
    
    ## 标签元数据
    
    ### 创建标签元数据
    
    让我们在带有标签的示例中为 `users` 和 `items` 试一下。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 4.5K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/testing.md

    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip
    
    Notice that the testing functions are normal `def`, not `async def`.
    
    And the calls to the client are also normal calls, not using `await`.
    
    This allows you to use `pytest` directly without complications.
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. docs/de/docs/advanced/response-cookies.md

    Setzen Sie dann Cookies darin und geben Sie sie dann zurück:
    
    {* ../../docs_src/response_cookies/tutorial001_py39.py hl[10:12] *}
    
    /// tip | Tipp
    
    Beachten Sie, dass, wenn Sie eine Response direkt zurückgeben, anstatt den `Response`-Parameter zu verwenden, FastAPI diese direkt zurückgibt.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top