Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 244 for 39 (0.02 sec)

  1. docs/ru/docs/tutorial/body-nested-models.md

    * Если у вас Python версии ниже чем 3.9, импортируйте их аналог из модуля `typing`
    * Передайте внутренний(ие) тип(ы) как "параметры типа", используя квадратные скобки: `[` и `]`
    
    В Python версии 3.9 это будет выглядеть так:
    
    ```Python
    my_list: list[str]
    ```
    
    В версиях Python до 3.9 это будет выглядеть так:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    To use that, declare a list of `bytes` or `UploadFile`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="10  15"
    {!> ../../docs_src/request_files/tutorial002_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11  16"
    {!> ../../docs_src/request_files/tutorial002_an.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/advanced-dependencies.md

    Não propriamente a classe (que já é um chamável), mas a instância desta classe.
    
    Para fazer isso, nós declaramos o método `__call__`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/dependencies/tutorial011_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="11"
    {!> ../../docs_src/dependencies/tutorial011_an.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## Add `dependencies` to the *path operation decorator*
    
    The *path operation decorator* receives an optional argument `dependencies`.
    
    It should be a `list` of `Depends()`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    {!> ../../docs_src/dependencies/tutorial006_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18"
    {!> ../../docs_src/dependencies/tutorial006_an.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## `dependencies` zum *Pfadoperation-Dekorator* hinzufügen
    
    Der *Pfadoperation-Dekorator* erhält ein optionales Argument `dependencies`.
    
    Es sollte eine `list`e von `Depends()` sein:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    {!> ../../docs_src/dependencies/tutorial006_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18"
    {!> ../../docs_src/dependencies/tutorial006_an.py!}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    * If you are in a Python version lower than 3.9, import their equivalent version from the `typing` module
    * Pass the internal type(s) as "type parameters" using square brackets: `[` and `]`
    
    In Python 3.9 it would be:
    
    ```Python
    my_list: list[str]
    ```
    
    In versions of Python before 3.9, it would be:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. docs/en/docs/python-types.md

    If you can use the **latest versions of Python**, use the examples for the latest version, those will have the **best and simplest syntax**, for example, "**Python 3.10+**".
    
    #### List
    
    For example, let's define a variable to be a `list` of `str`.
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. docs/de/docs/python-types.md

    //// tab | Python 3.9+
    
    In Python 3.9 ist `Annotated` ein Teil der Standardbibliothek, Sie können es von `typing` importieren.
    
    ```Python hl_lines="1  4"
    {!> ../../docs_src/python_types/tutorial013_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    In Versionen niedriger als Python 3.9 importieren Sie `Annotated` von `typing_extensions`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/path-operation-configuration.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1  15"
    {!> ../../docs_src/path_operation_configuration/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3  17"
    {!> ../../docs_src/path_operation_configuration/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3  17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/de/docs/tutorial/path-operation-configuration.md

    //// tab | Python 3.10+
    
    ```Python hl_lines="1  15"
    {!> ../../docs_src/path_operation_configuration/tutorial001_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="3  17"
    {!> ../../docs_src/path_operation_configuration/tutorial001_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="3  17"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top