Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 680 for Pythons (0.06 sec)

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

    * Передайте внутрішні типи як "параметри типу", використовуючи квадратні дужки: `[` and `]`.
    
    У Python 3.9 це буде виглядати так:
    
    ```Python
    my_list: list[str]
    ```
    
    У версіях Python до 3.9 це виглядає так:
    
    ```Python
    from typing import List
    
    my_list: List[str]
    ```
    
    Це стандартний синтаксис Python для оголошення типів.
    
    Використовуйте той самий стандартний синтаксис для атрибутів моделей з внутрішніми типами.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 14:18:01 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    ### Qué son los "Context Managers"
    
    Los "Context Managers" son aquellos objetos de Python que puedes usar en una declaración `with`.
    
    Por ejemplo, <a href="https://docs.python.org/3/tutorial/inputoutput.html#reading-and-writing-files" class="external-link" target="_blank">puedes usar `with` para leer un archivo</a>:
    
    ```Python
    with open("./somefile.txt") as f:
        contents = f.read()
        print(contents)
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1"
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. tensorflow/api_template_v1.__init__.py

    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
    from tensorflow.python.tools import module_util as _module_util
    from tensorflow.python.platform import tf_logging as _logging
    from tensorflow.python.util.lazy_loader import LazyLoader as _LazyLoader
    from tensorflow.python.util.lazy_loader import KerasLazyLoader as _KerasLazyLoader
    
    # API IMPORTS PLACEHOLDER
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Oct 02 22:16:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/pt/docs/features.md

    ### Apenas Python moderno
    
    Tudo é baseado no padrão das declarações de **tipos do Python 3.8** (graças ao Pydantic). Nenhuma sintaxe nova para aprender. Apenas o padrão moderno do Python.
    
    Se você precisa refrescar a memória rapidamente sobre como usar tipos do Python (mesmo que você não use o FastAPI), confira esse rápido tutorial: [Tipos do Python](python-types.md){.internal-link target=_blank}.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. docs/tr/docs/index.md

    Bu işlemi standart modern Python tipleriyle yapıyoruz.
    
    Yeni bir sözdizimi yapısını, bir kütüphane özel metod veya sınıfları öğrenmeye gerek yoktur.
    
    Hepsi sadece **Python** standartlarına dayalıdır.
    
    Örnek olarak, `int` tanımlamak için:
    
    ```Python
    item_id: int
    ```
    
    ya da daha kompleks herhangi bir python modelini tanımlayabiliriz, örneğin `Item` modeli için:
    
    ```Python
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/body-nested-models.md

    ## Campos do tipo Lista
    
    Você pode definir um atributo como um subtipo. Por exemplo, uma `list` do Python:
    
    {* ../../docs_src/body_nested_models/tutorial001.py hl[14] *}
    
    Isso fará com que tags seja uma lista de itens mesmo sem declarar o tipo dos elementos desta lista.
    
    ## Campos do tipo Lista com um parâmetro de tipo
    
    Mas o Python tem uma maneira específica de declarar listas com tipos internos ou "parâmetros de tipo":
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/request-form-models.md

    Чтобы использовать формы, сначала установите <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Убедитесь, что вы создали и активировали [виртуальное окружение](../virtual-environments.md){.internal-link target=_blank}, а затем установите пакет, например:
    
    ```console
    $ pip install python-multipart
    ```
    
    ///
    
    /// note | Заметка
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:17:36 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. docs/en/docs/index.md

    You do that with standard modern Python types.
    
    You don't have to learn a new syntax, the methods or classes of a specific library, etc.
    
    Just standard **Python**.
    
    For example, for an `int`:
    
    ```Python
    item_id: int
    ```
    
    or for a more complex `Item` model:
    
    ```Python
    item: Item
    ```
    
    ...and with that single declaration you get:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top