- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 97 for Tuple3 (0.15 sec)
-
fastapi/encoders.py
AnyUrl: str, } def generate_encoders_by_class_tuples( type_encoder_map: dict[Any, Callable[[Any], Any]], ) -> dict[Callable[[Any], Any], tuple[Any, ...]]: encoders_by_class_tuples: dict[Callable[[Any], Any], tuple[Any, ...]] = defaultdict( tuple ) for type_, encoder in type_encoder_map.items(): encoders_by_class_tuples[encoder] += (type_,) return encoders_by_class_tuples
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 10.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.duplex import java.io.IOException import java.util.concurrent.CountDownLatch import java.util.concurrent.FutureTask import java.util.concurrent.LinkedBlockingQueue import java.util.concurrent.TimeUnit
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/fr/docs/python-types.md
Et pourtant, l'éditeur sait qu'elle est de type `str` et pourra donc vous aider à l'utiliser. #### `Tuple` et `Set` C'est le même fonctionnement pour déclarer un `tuple` ou un `set` : {*../../docs_src/python_types/tutorial007.py hl[1,4] *} Dans cet exemple : * La variable `items_t` est un `tuple` avec 3 éléments, un `int`, un deuxième `int`, et un `str`.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 10K bytes - Viewed (0) -
fastapi/openapi/utils.py
*, route: routing.APIRoute, operation_ids: set[str], model_name_map: ModelNameMap, field_mapping: dict[ tuple[ModelField, Literal["validation", "serialization"]], dict[str, Any] ], separate_input_output_schemas: bool = True, ) -> tuple[dict[str, Any], dict[str, Any], dict[str, Any]]: path = {} security_schemes: dict[str, Any] = {} definitions: dict[str, Any] = {}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 23.2K bytes - Viewed (0) -
docs_src/python_types/tutorial007_py39.py
def process_items(items_t: tuple[int, int, str], items_s: set[bytes]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 99 bytes - Viewed (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].Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
docs/ko/docs/python-types.md
타입이 없으면 이건 거의 불가능이나 다름 없습니다. 변수 `item`은 `items`의 개별 요소라는 사실을 알아두세요. 그리고 에디터는 계속 `str`라는 사실을 알고 도와줍니다. #### `Tuple`과 `Set` `tuple`과 `set`도 동일하게 선언할 수 있습니다. {* ../../docs_src/python_types/tutorial007.py hl[1,4] *} 이 뜻은 아래와 같습니다: * 변수 `items_t`는, 차례대로 `int`, `int`, `str`인 `tuple`이다. * 변수 `items_s`는, 각 아이템이 `bytes`인 `set`이다. #### `Dict` `dict`를 선언하려면 컴마로 구분된 2개의 파라미터가 필요합니다.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0) -
tests/test_invalid_sequence_param.py
def test_invalid_tuple(): with pytest.raises(AssertionError): 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): app = FastAPI() class Item(BaseModel):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.2K bytes - Viewed (0) -
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(
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 10.5K bytes - Viewed (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
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0)