- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 218 for tuples (0.04 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`の宣言も同様です: {* ../../docs_src/python_types/tutorial007.py hl[1,4] *} つまり: * 変数`items_t`は`int`、`int`、`str`の3つの項目を持つ`tuple`です * 変数`items_s`はそれぞれの項目が`bytes`型である`set`です。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
} String getCrawlerMetadataNameMapping(); default Tuple3<String, String, String> getCrawlerMetadataNameMapping(final String name) { @SuppressWarnings("unchecked") Map<String, Tuple3<String, String, String>> params = (Map<String, Tuple3<String, String, String>>) propMap.get(CRAWLER_METADATA_NAME_MAPPING); if (params == null) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 88.2K 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` 的方法也是一样的: {* ../../docs_src/python_types/tutorial007.py hl[1,4] *} 这表示: * 变量 `items_t` 是一个 `tuple`,其中的前两个元素都是 `int` 类型, 最后一个元素是 `str` 类型。 * 变量 `items_s` 是一个 `set`,其中的每个元素都是 `bytes` 类型。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Aug 18 06:34:40 UTC 2025 - 8.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
final Tuple3<String, String, String> task = new Tuple3<>(getName(), thumbnailId, path); if (logger.isDebugEnabled()) { logger.debug("Create thumbnail task: {}", task); } return task; } /** * Generates a thumbnail image and saves it to the specified output file. *
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (0) -
tests/test_tuples.py
class ItemGroup(BaseModel): items: list[tuple[str, str]] class Coordinate(BaseModel): x: float y: float @app.post("/model-with-tuple/") def post_model_with_tuple(item_group: ItemGroup): return item_group @app.post("/tuple-of-models/") def post_tuple_of_models(square: tuple[Coordinate, Coordinate]): return square @app.post("/tuple-form/")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 9.8K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params-str-validations.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.1K 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 Dec 28 07:19:09 UTC 2025 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 1.2K bytes - Viewed (0) -
fastapi/_compat/v2.py
def _remap_definitions_and_field_mappings( *, model_name_map: ModelNameMap, definitions: dict[str, Any], field_mapping: dict[ tuple[ModelField, Literal["validation", "serialization"]], JsonSchemaValue ], ) -> tuple[ dict[tuple[ModelField, Literal["validation", "serialization"]], JsonSchemaValue], dict[str, Any], ]: old_name_to_new_name_map = {}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 19.1K bytes - Viewed (0) -
fastapi/_compat/shared.py
if sys.version_info < (3, 10): WithArgsTypes: tuple[Any, ...] = (typing._GenericAlias, types.GenericAlias) # type: ignore[attr-defined] else: WithArgsTypes: tuple[Any, ...] = ( typing._GenericAlias, # type: ignore[attr-defined] types.GenericAlias, types.UnionType, ) # pyright: ignore[reportAttributeAccessIssue] PYDANTIC_VERSION_MINOR_TUPLE = tuple(int(x) for x in PYDANTIC_VERSION.split(".")[:2])
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 6.7K bytes - Viewed (0)