- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 116 for Tuple3 (0.08 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
call.eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun createRequestBody( request: Request, duplex: Boolean, ): Sink { this.isDuplex = duplex val contentLength = request.body!!.contentLength() call.eventListener.requestBodyStart(call) val rawRequestBody = codec.createRequestBody(request, contentLength) return RequestBodySink(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.5K bytes - Click Count (0) -
docs/tr/docs/tutorial/query-params-str-validations.md
--- Ama bu örnek kodun detaylarını merak ediyorsanız, birkaç ek bilgi: #### `value.startswith()` ile String { #string-with-value-startswith } Fark ettiniz mi? `value.startswith()` ile bir string, tuple alabilir ve tuple içindeki her değeri kontrol eder: {* ../../docs_src/query_params_str_validations/tutorial015_an_py310.py ln[16:19] hl[17] *} #### Rastgele Bir Item { #a-random-item }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 17.3K bytes - Click Count (0) -
tests/test_invalid_sequence_param.py
match="Query parameter 'q' must be one of the supported types", ): app = FastAPI() class Item(BaseModel): title: str @app.get("/items/") def read_items(q: tuple[Item, Item] = Query(default=None)): pass # pragma: no cover def test_invalid_dict(): with pytest.raises( AssertionError,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.5K bytes - Click Count (0) -
docs/zh/docs/python-types.md
没有类型的话,这几乎是不可能做到的。 注意,变量 `item` 是列表 `items` 中的一个元素。 即便如此,编辑器仍然知道它是 `str`,并为此提供支持。 #### 元组和集合 { #tuple-and-set } 声明 `tuple` 和 `set` 的方式类似: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} 这表示: * 变量 `items_t` 是一个含有 3 个元素的 `tuple`,分别是一个 `int`、另一个 `int`,以及一个 `str`。 * 变量 `items_s` 是一个 `set`,其中每个元素的类型是 `bytes`。 #### 字典 { #dict }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.6K bytes - Click Count (0) -
scripts/translation_fixer.py
lang_path_root / "how-to", ] first_parent = lang_path_root yield from first_parent.glob("*.md") for dir_path in first_dirs: yield from dir_path.rglob("*.md") first_dirs_str = tuple(str(d) for d in first_dirs) for path in lang_path_root.rglob("*.md"): if str(path).startswith(first_dirs_str): continue if path.parent == first_parent: continueCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Jan 10 21:48:08 GMT 2026 - 3.2K bytes - Click Count (0) -
api/go1.5.txt
pkg go/types, method (*Struct) Tag(int) string pkg go/types, method (*Struct) Underlying() Type pkg go/types, method (*Tuple) At(int) *Var pkg go/types, method (*Tuple) Len() int pkg go/types, method (*Tuple) String() string pkg go/types, method (*Tuple) Underlying() Type pkg go/types, method (*TypeName) Exported() bool pkg go/types, method (*TypeName) Id() string pkg go/types, method (*TypeName) Name() string
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Click Count (0) -
docs/changelogs/changelog_3x.md
Interceptors that rewrite or replace the request body may now inadvertently interfere with duplex request bodies. Such interceptors should check `RequestBody.isDuplex()` and avoid accessing the request body when it is. Duplex calls require HTTP/2. If HTTP/1 is established instead the duplex call will fail. The most common use of duplex calls is [gRPC][grpc_http2].Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 14:55:54 GMT 2022 - 50.8K bytes - Click Count (0) -
docs/ja/docs/python-types.md
変数 `item` はリスト `items` の要素の一つであることに注意してください。 それでも、エディタはそれが `str` であることを知っていて、そのためのサポートを提供しています。 #### Tuple と Set { #tuple-and-set } `tuple` と `set` の宣言も同様です: {* ../../docs_src/python_types/tutorial007_py310.py hl[1] *} つまり: * 変数 `items_t` は `int`、別の `int`、`str` の 3 つの項目を持つ `tuple` です。 * 変数 `items_s` は `set` であり、その各項目は `bytes` 型です。 #### Dict { #dict }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 14.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
private set // These properties are guarded by `this`. They are typically only accessed by the thread executing // the call, but they may be accessed by other threads for duplex requests. private var requestBodyOpen = false private var responseBodyOpen = false private var socketSinkOpen = false private var socketSourceOpen = false
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 19.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
exchange.responseHeadersStart() invokeStartEvent = false } if (responseBuilder == null) { if (requestBody.isDuplex()) { // Prepare a duplex body so that the application can send a request body later. exchange.flushRequest() val bufferedRequestBody = exchange.createRequestBody(request, true).buffer()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 7.6K bytes - Click Count (0)