Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for 38 (0.02 sec)

  1. docs/de/docs/tutorial/dependencies/classes-as-dependencies.md

    ## Typannotation vs. `Depends`
    
    Beachten Sie, wie wir `CommonQueryParams` im obigen Code zweimal schreiben:
    
    //// tab | Python 3.8+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    //// tab | Python 3.8+ nicht annotiert
    
    /// tip | "Tipp"
    
    Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
    ///
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/dependencies/tutorial001_an.py!}
    ```
    
    ////
    
    //// 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"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/dependencies/tutorial001_an.py!}
    ```
    
    ////
    
    //// 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
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. docs/ru/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str | None = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ////
    
    Вот что мы получим, если обернём это в `Annotated`:
    
    //// tab | Python 3.10+
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/request-files.md

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

    //// tab | Python 3.9+
    
    ```Python hl_lines="3"
    {!> ../../docs_src/request_files/tutorial001_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/request_files/tutorial001_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | Dica
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="1"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str | None = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ////
    
    Wir wrappen das nun in `Annotated`, sodass daraus wird:
    
    //// tab | Python 3.10+
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. docs/ru/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="10"
    {!> ../../docs_src/path_params_numeric_validations/tutorial004_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="9"
    {!> ../../docs_src/path_params_numeric_validations/tutorial004_an.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)
  9. docs/en/docs/tutorial/query-params-str-validations.md

    ```Python
    q: str | None = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Union[str, None] = None
    ```
    
    ////
    
    What we will do is wrap that with `Annotated`, so it becomes:
    
    //// tab | Python 3.10+
    
    ```Python
    q: Annotated[str | None] = None
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python
    q: Annotated[Union[str, None]] = None
    ```
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/security/oauth2-scopes.md

    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="2  5  9  13  47  65  106  108-116  122-125  129-135  140  156"
    {!> ../../docs_src/security/tutorial005_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="2  5  9  13  48  66  107  109-117  123-126  130-136  141  157"
    {!> ../../docs_src/security/tutorial005_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top