- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 68 for Tuple (0.06 sec)
-
docs/pt/docs/tutorial/body-nested-models.md
```Python hl_lines="1" {!../../docs_src/body_nested_models/tutorial002.py!} ``` ### Declare a `List` com um parâmetro de tipo Para declarar tipos que têm parâmetros de tipo(tipos internos), como `list`, `dict`, `tuple`: * Importe os do modulo `typing` * Passe o(s) tipo(s) interno(s) como "parâmetros de tipo" usando colchetes: `[` e `]` ```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 - 7.4K bytes - Viewed (0) -
docs/ko/docs/tutorial/response-model.md
``` /// tip | "팁" 문법 `{"name", "description"}`은 두 값을 갖는 `set`을 만듭니다. 이는 `set(["name", "description"])`과 동일합니다. /// #### `set` 대신 `list` 사용하기 `list` 또는 `tuple` 대신 `set`을 사용하는 법을 잊었더라도, FastAPI는 `set`으로 변환하고 정상적으로 작동합니다: ```Python hl_lines="31 37" {!../../docs_src/response_model/tutorial006.py!} ``` ## 요약
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.1K bytes - Viewed (0) -
common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto
} // NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames. // +structType=atomic message NamedRuleWithOperations { // ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. // +listType=atomic // +optional repeated string resourceNames = 1; // RuleWithOperations is a tuple of Operations and Resources.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 25.7K bytes - Viewed (0) -
docs/em/docs/tutorial/body-nested-models.md
```Python hl_lines="1" {!> ../../docs_src/body_nested_models/tutorial002.py!} ``` ### 📣 `list` ⏮️ 🆎 🔢 📣 🆎 👈 ✔️ 🆎 🔢 (🔗 🆎), 💖 `list`, `dict`, `tuple`: * 🚥 👆 🐍 ⏬ 🔅 🌘 3️⃣.9️⃣, 🗄 👫 🌓 ⏬ ⚪️➡️ `typing` 🕹 * 🚶♀️ 🔗 🆎(Ⓜ) "🆎 🔢" ⚙️ ⬜ 🗜: `[` & `]` 🐍 3️⃣.9️⃣ ⚫️ 🔜: ```Python my_list: list[str] ``` ⏬ 🐍 ⏭ 3️⃣.9️⃣, ⚫️ 🔜: ```Python
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
// are executed asynchronously this must outlive the queued op, so it can't be // function-local to Execute. mutable std::unique_ptr<CancellationManager> default_cancellation_manager_; }; // Contains a tuple of tensors, one on each of the `underlying_devices_` of the // ParallelDevice. class ParallelTensor { public: // Construct a ParallelTensor from TensorHandles placed on the component
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 78.8K bytes - Viewed (0) -
src/cmd/api/main_test.go
w.writeType(buf, typ.Elem()) case *types.Struct: buf.WriteString("struct") case *types.Pointer: buf.WriteByte('*') w.writeType(buf, typ.Elem()) case *types.Tuple: panic("should never see a tuple type") case *types.Signature: buf.WriteString("func") w.writeSignature(buf, typ) case *types.Interface: buf.WriteString("interface{")
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/body-nested-models.md
{!> ../../docs_src/body_nested_models/tutorial002.py!} ``` ### Объявление `list` с указанием типов для вложенных элементов Объявление типов для элементов (внутренних типов) вложенных в такие типы как `list`, `dict`, `tuple`: * Если у вас Python версии ниже чем 3.9, импортируйте их аналог из модуля `typing` * Передайте внутренний(ие) тип(ы) как "параметры типа", используя квадратные скобки: `[` и `]` В Python версии 3.9 это будет выглядеть так:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.8K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
### typing의 `List` 임포트 먼저, 파이썬 표준 `typing` 모듈에서 `List`를 임포트합니다: ```Python hl_lines="1" {!../../docs_src/body_nested_models/tutorial002.py!} ``` ### 타입 매개변수로 `List` 선언 `list`, `dict`, `tuple`과 같은 타입 매개변수(내부 타입)를 갖는 타입을 선언하려면: * `typing` 모듈에서 임포트 * 대괄호를 사용하여 "타입 매개변수"로 내부 타입 전달: `[` 및 `]` ```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 - 7.6K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
```Python hl_lines="1" {!> ../../docs_src/body_nested_models/tutorial002.py!} ``` ### Declare a `list` with a type parameter To declare types that have type parameters (internal types), like `list`, `dict`, `tuple`: * 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:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.4K bytes - Viewed (0)