Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 563 for tip (0.01 sec)

  1. docs/ko/docs/advanced/templates.md

    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note | 참고
    
    FastAPI 0.108.0 이전과 Starlette 0.29.0에서는 `name`이 첫 번째 매개변수였습니다.
    
    또한 이전 버전에서는 `request` 객체가 Jinja2의 컨텍스트에서 키-값 쌍의 일부로 전달되었습니다.
    
    ///
    
    /// tip | 팁
    
    `response_class=HTMLResponse`를 선언하면 문서 UI 응답이 HTML임을 알 수 있습니다.
    
    ///
    
    /// note | 기술 세부 사항
    `from starlette.templating import Jinja2Templates`를 사용할 수도 있습니다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/get-current-user.md

    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    This will help us inside of the function with all the completion and type checks.
    
    /// tip
    
    You might remember that request bodies are also declared with Pydantic models.
    
    Here **FastAPI** won't get confused because you are using `Depends`.
    
    ///
    
    /// check
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/security/get-current-user.md

    Beachten Sie, dass wir als Typ von `current_user` das Pydantic-Modell `User` deklarieren.
    
    Das wird uns innerhalb der Funktion bei Codevervollständigung und Typprüfungen helfen.
    
    /// tip | Tipp
    
    Sie erinnern sich vielleicht, dass <abbr title="Anfragekörper">Requestbodys</abbr> ebenfalls mit Pydantic-Modellen deklariert werden.
    
    Weil Sie `Depends` verwenden, wird **FastAPI** hier aber nicht verwirrt.
    
    ///
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/response-directly.md

    但是你可以在你的 *路径操作* 中直接返回一个 `JSONResponse`。
    
    直接返回响应可能会有用处,比如返回自定义的响应头和 cookies。
    
    ## 返回 `Response`
    
    事实上,你可以返回任意 `Response` 或者任意 `Response` 的子类。
    
    /// tip | 小贴士
    
    `JSONResponse` 本身是一个 `Response` 的子类。
    
    ///
    
    当你返回一个 `Response` 时,**FastAPI** 会直接传递它。
    
    **FastAPI** 不会用 Pydantic 模型做任何数据转换,不会将响应内容转换成任何类型,等等。
    
    这种特性给你极大的可扩展性。你可以返回任何数据类型,重写任何数据声明或者校验,等等。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/security/oauth2-jwt.md

    <div class="termy">
    
    ```console
    $ pip install "pwdlib[argon2]"
    
    ---> 100%
    ```
    
    </div>
    
    /// tip
    
    With `pwdlib`, you could even configure it to be able to read passwords created by **Django**, a **Flask** security plug-in or many others.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/first-steps.md

          <span style="background-color:#007166"><font color="#D3D7CF"> tip </font></span>  Running in development mode, for production use:
                 <b>fastapi run</b>
    
                 Logs:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.7K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/first-steps.md

          <span style="background-color:#007166"><font color="#D3D7CF"> tip </font></span>  Running in development mode, for production use:
                 <b>fastapi run</b>
    
                 Logs:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params.md

    Nesse caso, existem 3 parâmetros de consulta:
    
    * `needy`, um `str` obrigatório.
    * `skip`, um `int` com o valor padrão `0`.
    * `limit`, um `int` opcional.
    
    /// tip | Dica
    
    Você também poderia usar `Enum` da mesma forma que com [Path Parameters](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/query-params.md

    En este caso, hay 3 parámetros de query:
    
    * `needy`, un `str` requerido.
    * `skip`, un `int` con un valor por defecto de `0`.
    * `limit`, un `int` opcional.
    
    /// tip | Consejo
    
    También podrías usar `Enum`s de la misma manera que con [Parámetros de Path](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. docs/es/docs/tutorial/security/get-current-user.md

    Ten en cuenta que declaramos el tipo de `current_user` como el modelo de Pydantic `User`.
    
    Esto nos ayudará dentro de la función con todo el autocompletado y chequeo de tipos.
    
    /// tip | Consejo
    
    Tal vez recuerdes que los request bodies también se declaran con modelos de Pydantic.
    
    Aquí **FastAPI** no se confundirá porque estás usando `Depends`.
    
    ///
    
    /// check | Revisa
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top