Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for annotated (0.09 sec)

  1. docs/pt/docs/advanced/security/oauth2-scopes.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | Dica
    
    Prefira utilizar a versão `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="4  8  12  46  64  105  107-115  121-124  128-134  139  155"
    {!> ../../docs_src/security/tutorial005_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip | Dica
    
    Prefira utilizar a versão `Annotated` se possível.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    ////
    
    //// tab | Python 3.10+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python hl_lines="7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | "Dica"
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | "Dica"
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/query-params-str-validations.md

    ### Импорт `Query` и `Annotated`
    
    Чтобы достичь этого, первым делом нам нужно импортировать:
    
    * `Query` из пакета `fastapi`:
    * `Annotated` из пакета `typing` (или из `typing_extensions` для Python ниже 3.9)
    
    //// tab | Python 3.10+
    
    В Python 3.9 или выше, `Annotated` является частью стандартной библиотеки, таким образом вы можете импортировать его из `typing`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.10+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    ```Python hl_lines="7"
    {!> ../../docs_src/dependencies/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.6+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    ```Python hl_lines="11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ////
    
    //// tab | Python 3.10+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    ```Python hl_lines="1"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ без Annotated
    
    /// tip | "Подсказка"
    
    Рекомендуется использовать версию с `Annotated` если возможно.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

    Make sure you [Upgrade the FastAPI version](../deployment/versions.md#upgrading-the-fastapi-versions){.internal-link target=_blank} to at least 0.95.1 before using `Annotated`.
    
    ///
    
    ## Use `Annotated` in the type for the `q` parameter
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Beide Versionen bedeuten dasselbe: `q` ist ein Parameter, der `str` oder `None` sein kann. Standardmäßig ist er `None`.
    
    Wenden wir uns jetzt den spannenden Dingen zu. 🎉
    
    ## `Query` zu `Annotated` im `q`-Parameter hinzufügen
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. fastapi/security/http.py

    from typing_extensions import Annotated, Doc
    
    
    class HTTPBasicCredentials(BaseModel):
        """
        The HTTP Basic credentials given as the result of using `HTTPBasic` in a
        dependency.
    
        Read more about it in the
        [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/).
        """
    
        username: Annotated[str, Doc("The HTTP Basic username.")]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top