- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 101 for tuple (0.03 seconds)
-
docs/zh-hant/docs/tutorial/response-model.md
/// tip | 提示 語法 `{"name", "description"}` 會建立一個包含這兩個值的 `set`。 它等同於 `set(["name", "description"])`。 /// #### 使用 `list` 來代替 `set` { #using-lists-instead-of-sets } 如果你忘了使用 `set` 而用了 `list` 或 `tuple`,FastAPI 仍會把它轉換成 `set`,並能正確運作: {* ../../docs_src/response_model/tutorial006_py310.py hl[29,35] *} ## 重點回顧 { #recap } 使用「路徑操作裝飾器」的 `response_model` 參數來定義回應模型,特別是為了確保私有資料被過濾掉。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.5K bytes - Click Count (0) -
docs/ru/docs/python-types.md
И всё же редактор кода знает, что это `str`, и даёт соответствующую поддержку. #### Tuple и Set { #tuple-and-set } Аналогично вы бы объявили `tuple` и `set`: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} Это означает: * Переменная `items_t` — это `tuple` из 3 элементов: `int`, ещё один `int` и `str`. * Переменная `items_s` — это `set`, и каждый элемент имеет тип `bytes`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 17.7K bytes - Click Count (0) -
docs/es/docs/python-types.md
Y aún así, el editor sabe que es un `str` y proporciona soporte para eso. #### Tuple y Set { #tuple-and-set } Harías lo mismo para declarar `tuple`s y `set`s: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} Esto significa: * La variable `items_t` es un `tuple` con 3 ítems, un `int`, otro `int`, y un `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.6K bytes - Click Count (1) -
docs/pt/docs/python-types.md
E, ainda assim, o editor sabe que é um `str` e fornece suporte para isso. #### Tuple e Set { #tuple-and-set } Você faria o mesmo para declarar `tuple`s e `set`s: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} Isso significa: * A variável `items_t` é uma `tuple` com 3 itens, um `int`, outro `int` e uma `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 11.7K bytes - Click Count (0) -
docs/tr/docs/python-types.md
Ve yine de editör bunun bir `str` olduğunu bilir ve buna göre destek sağlar. #### Tuple ve Set { #tuple-and-set } `tuple`'ları ve `set`'leri bildirmek için de aynısını yaparsınız: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} Bu şu anlama gelir: * `items_t` değişkeni 3 öğeli bir `tuple`'dır: bir `int`, bir başka `int` ve bir `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 11.9K bytes - Click Count (0) -
docs/uk/docs/python-types.md
І все ж редактор знає, що це `str`, і надає підтримку для цього. #### Tuple and Set { #tuple-and-set } Ви повинні зробити те ж саме, щоб оголосити `tuple` і `set`: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} Це означає: * Змінна `items_t` — це `tuple` з 3 елементами: `int`, ще `int`, та `str`. * Змінна `items_s` — це `set`, і кожен його елемент має тип `bytes`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 17.4K bytes - Click Count (0) -
docs/de/docs/python-types.md
#### Tupel und Menge { #tuple-and-set } Das Gleiche gilt für die Deklaration eines Tupels – `tuple` – und einer Menge – `set`: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} Das bedeutet: * Die Variable `items_t` ist ein `tuple` mit 3 Elementen, einem `int`, einem weiteren `int` und einem `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.6K bytes - Click Count (1) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// - a string representing the tracing implementation: "mlir" or "graphdef". // - a boolean that when true enables TFRT as the execution engine. class UnifiedCAPI : public ::testing::TestWithParam<std::tuple<const char*, bool>> { protected: void SetUp() override { TF_StatusPtr status(TF_NewStatus()); TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 39.1K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params-str-validations.md
#### 使用 `value.startswith()` 的字串 { #string-with-value-startswith } 你注意到了嗎?字串的 `value.startswith()` 可以接收一個 tuple,並逐一檢查 tuple 中的每個值: {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *} #### 隨機項目 { #a-random-item } 透過 `data.items()` 我們會得到一個包含每個字典項目鍵值對 tuple 的 <dfn title="可以用 for 迴圈遍歷的東西,例如 list、set 等等。">iterable object</dfn>。 我們用 `list(data.items())` 把這個可疊代物件轉成正式的 `list`。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 14.8K bytes - Click Count (0) -
docs/fr/docs/python-types.md
Et pourtant, l'éditeur sait que c'est un `str` et fournit le support approprié. #### Tuple et Set { #tuple-and-set } Vous feriez la même chose pour déclarer des `tuple` et des `set` : {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} Cela signifie : * La variable `items_t` est un `tuple` avec 3 éléments, un `int`, un autre `int`, et un `str`.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.7K bytes - Click Count (0)