Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 561 for tip (0.01 seconds)

  1. docs/ja/docs/tutorial/security/index.md

    ### OAuth 1
    
    OAuth 1というものもありましたが、これはOAuth2とは全く異なり、通信をどのように暗号化するかという仕様が直接的に含まれており、より複雑なものとなっています。
    
    現在ではあまり普及していませんし、使われてもいません。
    
    OAuth2は、通信を暗号化する方法を指定せず、アプリケーションがHTTPSで提供されることを想定しています。
    
    /// tip | 豆知識
    
    **デプロイ**のセクションでは、TraefikとLet's Encryptを使用して、無料でHTTPSを設定する方法が紹介されています。
    
    ///
    
    ## OpenID Connect
    
    OpenID Connectは、**OAuth2**をベースにした別の仕様です。
    
    これはOAuth2を拡張したもので、OAuth2ではやや曖昧だった部分を明確にし、より相互運用性を高めようとしたものです。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 6K bytes
    - Click Count (0)
  2. docs/en/docs/deployment/docker.md

    Using Linux containers has several advantages including **security**, **replicability**, **simplicity**, and others.
    
    /// tip
    
    In a hurry and already know this stuff? Jump to the [`Dockerfile` below 👇](#build-a-docker-image-for-fastapi).
    
    ///
    
    <details>
    <summary>Dockerfile Preview 👀</summary>
    
    ```Dockerfile
    FROM python:3.9
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 29.5K bytes
    - Click Count (1)
  3. docs/de/docs/advanced/response-directly.md

    ## Eine `Response` zurückgeben { #return-a-response }
    
    Tatsächlich können Sie jede `Response` oder jede Unterklasse davon zurückgeben.
    
    /// tip | Tipp
    
    `JSONResponse` selbst ist eine Unterklasse von `Response`.
    
    ///
    
    Und wenn Sie eine `Response` zurückgeben, wird **FastAPI** diese direkt weiterleiten.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/cookie-param-models.md

    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    /// tip
    
    This same technique applies to `Query`, `Cookie`, and `Header`. 😎
    
    ///
    
    ## Cookies with a Pydantic Model { #cookies-with-a-pydantic-model }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/response-directly.md

    Esto podría ser útil, por ejemplo, para devolver headers o cookies personalizados.
    
    ## Devolver una `Response` { #return-a-response }
    
    De hecho, puedes devolver cualquier `Response` o cualquier subclase de ella.
    
    /// tip | Consejo
    
    `JSONResponse` en sí misma es una subclase de `Response`.
    
    ///
    
    Y cuando devuelves una `Response`, **FastAPI** la pasará directamente.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/templates.md

    Además, antes de eso, en versiones anteriores, el objeto `request` se pasaba como parte de los pares clave-valor en el contexto para Jinja2.
    
    ///
    
    /// tip | Consejo
    
    Al declarar `response_class=HTMLResponse`, la interfaz de usuario de la documentación podrá saber que el response será HTML.
    
    ///
    
    /// note | Nota Técnica
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. docs/en/docs/python-types.md

    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial009b_py39.py!}
    ```
    
    ////
    
    #### Using `Union` or `Optional` { #using-union-or-optional }
    
    If you are using a Python version below 3.10, here's a tip from my very **subjective** point of view:
    
    * 🚨 Avoid using `Optional[SomeType]`
    * Instead ✨ **use `Union[SomeType, None]`** ✨.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  8. docs/uk/docs/tutorial/response-status-code.md

    * `500 - 599` "Помилки сервера". Ви майже ніколи не використовуєте їх напряму. Якщо в коді Вашого застосунку або на сервері щось пішло не так, автоматично буде повернено один із цих кодів статусу.
    
    /// tip | Порада
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Mar 19 17:04:17 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/response-directly.md

    It might be useful, for example, to return custom headers or cookies.
    
    ## Return a `Response` { #return-a-response }
    
    In fact, you can return any `Response` or any sub-class of it.
    
    /// tip
    
    `JSONResponse` itself is a sub-class of `Response`.
    
    ///
    
    And when you return a `Response`, **FastAPI** will pass it directly.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/query-params.md

    In diesem Fall gibt es drei Query-Parameter:
    
    * `needy`, ein erforderlicher `str`.
    * `skip`, ein `int` mit einem Defaultwert `0`.
    * `limit`, ein optionales `int`.
    
    /// tip | Tipp
    
    Sie können auch `Enum`s verwenden, auf die gleiche Weise wie mit [Pfad-Parametern](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top