- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 97 for Tuple3 (0.06 sec)
-
docs/en/docs/python-types.md
And still, the editor knows it is a `str`, and provides support for that. #### Tuple and Set { #tuple-and-set } You would do the same to declare `tuple`s and `set`s: {* ../../docs_src/python_types/tutorial007_py39.py hl[1] *} This means: * The variable `items_t` is a `tuple` with 3 items, an `int`, another `int`, and a `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 15.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
rule2.setMatchResult(true); TestAbstractRule rule3 = new TestAbstractRule(); rule3.crawlerContainer = container; rule3.setRuleId("rule3"); rule3.setMatchResult(false); // Register in order rule1.register(0); rule2.register(1); rule3.register(2); // Get matching rule
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
fastapi/security/utils.py
from typing import Optional 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 Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 286 bytes - Viewed (0) -
docs/ru/docs/python-types.md
И всё же редактор кода знает, что это `str`, и даёт соответствующую поддержку. #### Tuple и Set { #tuple-and-set } Аналогично вы бы объявили `tuple` и `set`: {* ../../docs_src/python_types/tutorial007_py39.py hl[1] *} Это означает: * Переменная `items_t` — это `tuple` из 3 элементов: `int`, ещё один `int` и `str`. * Переменная `items_s` — это `set`, и каждый элемент имеет тип `bytes`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 24.4K bytes - Viewed (0) -
docs/tr/docs/python-types.md
Ve yine, editör bunun bir `str` olduğunu biliyor ve bunun için destek sağlıyor. #### `Tuple` ve `Set` `Tuple` ve `set`lerin tiplerini bildirmek için de aynısını yapıyoruz: {* ../../docs_src/python_types/tutorial007.py hl[1,4] *} Bu şu anlama geliyor: * `items_t` değişkeni sırasıyla `int`, `int`, ve `str` tiplerinden oluşan bir `tuple` türündedir . * `items_s` ise her öğesi `bytes` türünde olan bir `set` örneğidir.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/uk/docs/python-types.md
Зверніть увагу, що змінна `item` є одним із елементів у списку `items`. І все ж редактор знає, що це `str`, і надає підтримку для цього. #### Tuple and Set (кортеж та набір) Ви повинні зробити те ж саме, щоб оголосити `tuple` і `set`: //// tab | Python 3.8 і вище ```Python hl_lines="1 4" {!> ../../docs_src/python_types/tutorial007.py!} ``` ////
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 19.4K bytes - Viewed (0) -
tests/test_invalid_path_param.py
def test_invalid_tuple(): with pytest.raises(AssertionError): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/{id}") def read_items(id: tuple[Item, Item]): pass # pragma: no cover def test_invalid_dict(): with pytest.raises(AssertionError): app = FastAPI() class Item(BaseModel): title: str
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.6K bytes - Viewed (0) -
tests/test_dependency_security_overrides.py
return "alice", required_scopes.scopes def get_data(): return [1, 2, 3] def get_data_override(): return [3, 4, 5] @app.get("/user") def read_user( user_data: tuple[str, list[str]] = Security(get_user, scopes=["foo", "bar"]), data: list[int] = Depends(get_data), ): return {"user": user_data[0], "scopes": user_data[1], "data": data} client = TestClient(app)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.4K bytes - Viewed (1) -
fastapi/dependencies/utils.py
response=response, dependency_cache=dependency_cache, ) def _validate_value_with_model_field( *, field: ModelField, value: Any, values: dict[str, Any], loc: tuple[str, ...] ) -> tuple[Any, list[Any]]: if value is None: if field.required: return None, [get_missing_field_error(loc=loc)] else: return deepcopy(field.default), []Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 37.6K bytes - Viewed (3) -
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_py39.py hl[1] *} Das bedeutet: * Die Variable `items_t` ist ein `tuple` mit 3 Elementen, einem `int`, einem weiteren `int` und einem `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 17.9K bytes - Viewed (1)