Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for probes (0.25 sec)

  1. docs/en/docs/python-types.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial008.py!}
        ```
    
    This means:
    
    * The variable `prices` is a `dict`:
        * The keys of this `dict` are of type `str` (let's say, the name of each item).
        * The values of this `dict` are of type `float` (let's say, the price of each item).
    
    #### Union
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  2. docs/em/docs/python-types.md

        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial008_py39.py!}
        ```
    
    👉 ⛓:
    
    * 🔢 `prices` `dict`:
        * 🔑 👉 `dict` 🆎 `str` (➡️ 💬, 📛 🔠 🏬).
        * 💲 👉 `dict` 🆎 `float` (➡️ 💬, 🔖 🔠 🏬).
    
    #### 🇪🇺
    
    👆 💪 📣 👈 🔢 💪 🙆 **📚 🆎**, 🖼, `int` ⚖️ `str`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs/ja/docs/python-types.md

    `dict`を宣言するためには、カンマ区切りで2つの型パラメータを渡します。
    
    最初の型パラメータは`dict`のキーです。
    
    2番目の型パラメータは`dict`の値です。
    
    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    つまり:
    
    * 変数`prices`は`dict`であり:
        * この`dict`のキーは`str`型です。(つまり、各項目の名前)
        * この`dict`の値は`float`型です。(つまり、各項目の価格)
    
    #### `Optional`
    
    また、`Optional`を使用して、変数が`str`のような型を持つことを宣言することもできますが、それは「オプション」であり、`None`にすることもできます。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  4. docs/ru/docs/python-types.md

    Второй параметр типа предназначен для значений `dict`:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    Это означает:
    
    * Переменная `prices` является `dict`:
        * Ключи этого `dict` имеют тип `str` (скажем, название каждого элемента).
        * Значения этого `dict` имеют тип `float` (скажем, цена каждой позиции).
    
    #### `Optional`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. docs/uk/docs/python-types.md

        ```
    
    === "Python 3.9 і вище"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial008_py39.py!}
        ```
    
    Це означає:
    
    * Змінна `prices` це `dict`:
        * Ключі цього `dict` типу `str` (наприклад, назва кожного елементу).
        * Значення цього `dict` типу `float` (наприклад, ціна кожного елементу).
    
    #### Union (об'єднання)
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. docs/zh/docs/python-types.md

    #### 字典
    
    定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。
    
    第一个子类型声明 `dict` 的所有键。
    
    第二个子类型声明 `dict` 的所有值:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    这表示:
    
    * 变量 `prices` 是一个 `dict`:
        * 这个 `dict` 的所有键为 `str` 类型(可以看作是字典内每个元素的名称)。
        * 这个 `dict` 的所有值为 `float` 类型(可以看作是字典内每个元素的价格)。
    
    ### 类作为类型
    
    你也可以将类声明为变量的类型。
    
    假设你有一个名为 `Person` 的类,拥有 name 属性:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  7. docs/vi/docs/python-types.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial008.py!}
        ```
    
    Điều này có nghĩa là:
    
    * Biến `prices` là một `dict`:
        * Khóa của `dict` này là kiểu `str` (đó là tên của mỗi vật phẩm).
        * Giá trị của `dict` này là kiểu `float` (đó là giá của mỗi vật phẩm).
    
    #### Union
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  8. docs/tr/docs/python-types.md

    İkinci parametre ise `dict` değerinin `value` değeri içindir:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    Bu şu anlama gelir:
    
    *  `prices` değişkeni `dict` tipindedir:
        *  `dict` değişkeninin `key` değeri  `str` tipindedir (herbir item'ın "name" değeri).
        *  `dict` değişkeninin `value` değeri `float` tipindedir (lherbir item'ın "price" değeri).
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  9. docs/pt/docs/python-types.md

    O segundo parâmetro de tipo é para os valores do `dict`:
    
    ```Python hl_lines="1 4"
    {!../../../docs_src/python_types/tutorial008.py!}
    ```
    
    Isso significa que:
    
    * A variável `prices` é um dict`:
        * As chaves deste `dict` são do tipo `str` (digamos, o nome de cada item).
        * Os valores deste `dict` são do tipo `float` (digamos, o preço de cada item).
    
    #### `Opcional`
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. docs/es/docs/python-types.md

    <img src="https://fastapi.tiangolo.com/img/python-types/image05.png">
    
    Observa que la variable `item` es unos de los elementos en la lista `items`.
    
    El editor aún sabe que es un `str` y provee soporte para ello.
    
    #### Tuples y Sets
    
    Harías lo mismo para declarar `tuple`s y `set`s:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    Esto significa:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top