- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for tuple (0.23 sec)
-
fastapi/encoders.py
} 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
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 10.8K bytes - Viewed (0) -
fastapi/_compat.py
sequence_annotation_to_type = { Sequence: list, List: list, list: list, Tuple: tuple, tuple: tuple, Set: set, set: set, FrozenSet: frozenset, frozenset: frozenset, Deque: deque, deque: deque, } sequence_types = tuple(sequence_annotation_to_type.keys()) if PYDANTIC_V2:
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 22.6K bytes - Viewed (0) -
fastapi/dependencies/utils.py
dependency_overrides_provider: Optional[Any] = None, dependency_cache: Optional[Dict[Tuple[Callable[..., Any], Tuple[str]], Any]] = None, async_exit_stack: AsyncExitStack, ) -> Tuple[ Dict[str, Any], List[Any], Optional[StarletteBackgroundTasks], Response, Dict[Tuple[Callable[..., Any], Tuple[str]], Any], ]: values: Dict[str, Any] = {} errors: List[Any] = []
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Tue Apr 02 02:52:56 GMT 2024 - 29.5K bytes - Viewed (0) -
docs/uk/docs/python-types.md
Зверніть увагу, що змінна `item` є одним із елементів у списку `items`. І все ж редактор знає, що це `str`, і надає підтримку для цього. #### Tuple and Set (кортеж та набір) Ви повинні зробити те ж саме, щоб оголосити `tuple` і `set`: === "Python 3.8 і вище" ```Python hl_lines="1 4" {!> ../../../docs_src/python_types/tutorial007.py!} ``` === "Python 3.9 і вище"
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 19.7K bytes - Viewed (0) -
docs/tr/docs/python-types.md
#### `Tuple` ve `Set` `Tuple` ve `set`lerin tiplerini bildirmek için de aynısını yapıyoruz: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` Bu şu anlama geliyor: * `items_t` değişkeni sırasıyla `int`, `int`, ve `str` tiplerinden oluşan bir `tuple` türündedir .
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.7K bytes - Viewed (0) -
docs/en/docs/python-types.md
Notice that the variable `item` is one of the elements in the list `items`. And still, the editor knows it is a `str`, and provides support for that. #### Tuple and Set You would do the same to declare `tuple`s and `set`s: === "Python 3.9+" ```Python hl_lines="1" {!> ../../../docs_src/python_types/tutorial007_py39.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 17K bytes - Viewed (0) -
fastapi/openapi/utils.py
operation_ids: Set[str], schema_generator: GenerateJsonSchema, model_name_map: ModelNameMap, field_mapping: Dict[ Tuple[ModelField, Literal["validation", "serialization"]], JsonSchemaValue ], 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] = {}
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 21.8K bytes - Viewed (0) -
docs/vi/docs/python-types.md
Chú ý rằng, biến `item` là một trong các phần tử trong danh sách `items`. Và do vậy, trình soạn thảo biết nó là một `str`, và cung cấp sự hỗ trợ cho nó. #### Tuple and Set Bạn sẽ làm điều tương tự để khai báo các `tuple` và các `set`: === "Python 3.9+" ```Python hl_lines="1" {!> ../../../docs_src/python_types/tutorial007_py39.py!} ``` === "Python 3.8+"
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 21.9K bytes - Viewed (0) -
docs/de/docs/python-types.md
* `list` * `tuple` * `set` * `dict` Verwenden Sie für den Rest, wie unter Python 3.8, das `typing`-Modul: * `Union` * `Optional` * ... und andere. === "Python 3.8+" * `List` * `Tuple` * `Set` * `Dict` * `Union` * `Optional` * ... und andere.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:29:25 GMT 2024 - 19.3K bytes - Viewed (0) -
cmd/storage-datatypes.go
// // The above means that any added/deleted fields are incompatible. // //msgp:tuple VolInfo type VolInfo struct { // Name of the volume. Name string // Date and time when the volume was created. Created time.Time } // FilesInfo represent a list of files, additionally // indicates if the list is last. // //msgp:tuple FileInfo type FilesInfo struct { Files []FileInfo IsTruncated bool }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Apr 16 15:41:27 GMT 2024 - 14.8K bytes - Viewed (0)