- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 95 for Tuple4 (0.06 sec)
-
fastapi/types.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 455 bytes - Viewed (0) -
tests/test_typing_python39.py
@needs_py310 def test_typing(): types = { list[int]: [1, 2, 3], dict[str, list[int]]: {"a": [1, 2, 3], "b": [4, 5, 6]}, set[int]: [1, 2, 3], # `set` is converted to `list` tuple[int, ...]: [1, 2, 3], # `tuple` is converted to `list` } for test_type, expect in types.items(): app = FastAPI() @app.post("/", response_model=test_type) def post_endpoint(input: test_type):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 709 bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt
* limitations under the License. */ package okhttp3.internal.duplex import java.util.concurrent.BlockingQueue import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit.SECONDS import okhttp3.MediaType import okhttp3.RequestBody import okio.BufferedSink import org.junit.jupiter.api.Assertions.assertTrue /** A duplex request body that keeps the provided sinks so they can be written to later. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.5K bytes - Viewed (0) -
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_py39.py hl[1] *} Isso significa que: * A variável `items_t` é uma `tuple` com 3 itens, um `int`, outro `int` e uma `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.7K bytes - Viewed (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_py39.py hl[1] *} Esto significa: * La variable `items_t` es un `tuple` con 3 ítems, un `int`, otro `int`, y un `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (1) -
tests/benchmarks/test_general_performance.py
def client() -> Iterator[TestClient]: with TestClient(app) as client: yield client def _bench_get(benchmark, client: TestClient, path: str) -> tuple[int, bytes]: warmup = client.get(path) assert warmup.status_code == 200 def do_request() -> tuple[int, bytes]: response = client.get(path) return response.status_code, response.content return benchmark(do_request)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 20:40:26 UTC 2025 - 11.1K bytes - Viewed (0) -
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/RuleManagerTest.java
TestRule rule2 = new TestRule("rule2", true); TestRule rule3 = new TestRule("rule3", false); TestRule rule4 = new TestRule("rule4", true); ruleManager.addRule(rule1); ruleManager.addRule(rule2); ruleManager.addRule(rule3); ruleManager.addRule(rule4); List<Rule> rules = ruleManager.getRules(); assertEquals(4, rules.size());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K 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)