- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 347 for tuples (0.05 sec)
-
docs/ja/docs/python-types.md
<img src="https://fastapi.tiangolo.com/img/python-types/image05.png"> タイプがなければ、それはほぼ不可能です。 変数`item`はリスト`items`の要素の一つであることに注意してください。 それでも、エディタはそれが`str`であることを知っていて、そのためのサポートを提供しています。 #### `Tuple` と `Set` `tuple`と`set`の宣言も同様です: ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial007.py!} ``` つまり: * 変数`items_t`は`int`、`int`、`str`の3つの項目を持つ`tuple`です
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.8K bytes - Viewed (0) -
src/main/webapp/js/admin/jquery-3.7.1.min.map
"method","promise","fail","then","Callbacks","object","_","flag","firing","memory","fired","locked","list","queue","firingIndex","fire","once","stopOnFalse","remove","disable","lock","fireWith","Deferred","func","tuples","state","always","deferred","catch","pipe","fns","newDefer","tuple","returned","progress","notify","onFulfilled","onRejected","onProgress","maxDepth","depth","handler","special","that","mightThrow","TypeError","notifyWith","resolveWith","process","exceptionHook","rejectWith","ge...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:07:52 UTC 2024 - 131.6K bytes - Viewed (0) -
docs/zh/docs/python-types.md
没有类型,几乎是不可能实现下面这样: <img src="https://fastapi.tiangolo.com/img/python-types/image05.png"> 注意,变量 `item` 是列表 `items` 中的元素之一。 而且,编辑器仍然知道它是一个 `str`,并为此提供了支持。 #### 元组和集合 声明 `tuple` 和 `set` 的方法也是一样的: ```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial007.py!} ``` 这表示: * 变量 `items_t` 是一个 `tuple`,其中的前两个元素都是 `int` 类型, 最后一个元素是 `str` 类型。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8.6K bytes - Viewed (0) -
docs/en/docs/python-types.md
### Generic types with type parameters There are some data structures that can contain other values, like `dict`, `list`, `set` and `tuple`. And the internal values can have their own type too. These types that have internal types are called "**generic**" types. And it's possible to declare them, even with their internal types.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 26 11:47:53 UTC 2024 - 16.7K bytes - Viewed (0) -
docs/vi/docs/python-types.md
<img src="/img/python-types/image05.png"> Đa phần đều không thể đạt được nếu không có các kiểu dữ liệu. Chú ý rằng, biến `item` là một trong các phần tử trong danh sách `items`. Và do vậy, trình soạn thảo biết nó là một `str`, và cung cấp sự hỗ trợ cho nó. #### Tuple and Set Bạn sẽ làm điều tương tự để khai báo các `tuple` và các `set`: //// tab | Python 3.9+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 21.6K bytes - Viewed (0) -
tests/test_tuples.py
@app.post("/tuple-of-models/") def post_tuple_of_models(square: Tuple[Coordinate, Coordinate]): return square @app.post("/tuple-form/") def hello(values: Tuple[int, int] = Form()): return values client = TestClient(app) def test_model_with_tuple_valid(): data = {"items": [["foo", "bar"], ["baz", "whatelse"]]} response = client.post("/model-with-tuple/", json=data)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 11.8K bytes - Viewed (0) -
fastapi/_compat.py
sequence_annotation_to_type = { Sequence: list, List: list, list: list, Tuple: tuple, tuple: tuple, Set: set, set: set, FrozenSet: frozenset, frozenset: frozenset, Deque: deque, deque: deque, } sequence_types = tuple(sequence_annotation_to_type.keys()) if PYDANTIC_V2:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 23.4K bytes - Viewed (0) -
tests/test_forms_from_non_typing_sequences.py
def post_form_param_list(items: list = Form()): return items @app.post("/form/python-set") def post_form_param_set(items: set = Form()): return items @app.post("/form/python-tuple") def post_form_param_tuple(items: tuple = Form()): return items client = TestClient(app) def test_python_list_param_as_form(): response = client.post(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K bytes - Viewed (0) -
fastapi/security/utils.py
from typing import Optional, Tuple def get_authorization_scheme_param( authorization_header_value: Optional[str], ) -> Tuple[str, str]: if not authorization_header_value: return "", "" scheme, _, param = authorization_header_value.partition(" ")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 13 14:26:09 UTC 2022 - 293 bytes - Viewed (0)