- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 88 for tuple (0.19 sec)
-
tests/test_dependency_security_overrides.py
from typing import List, Tuple from fastapi import Depends, FastAPI, Security from fastapi.security import SecurityScopes from fastapi.testclient import TestClient app = FastAPI() def get_user(required_scopes: SecurityScopes): return "john", required_scopes.scopes def get_user_override(required_scopes: SecurityScopes): return "alice", required_scopes.scopes def get_data(): return [1, 2, 3]
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Sun Jun 14 15:54:46 GMT 2020 - 1.4K 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/ru/docs/python-types.md
И все же редактор знает, что это `str`, и поддерживает это. #### `Tuple` и `Set` Вы бы сделали то же самое, чтобы объявить `tuple` и `set`: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` Это означает: * Переменная `items_t` является `tuple` с 3 элементами: `int`, другим `int` и `str`.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 14.6K bytes - Viewed (0) -
docs_src/python_types/tutorial007_py39.py
def process_items(items_t: tuple[int, int, str], items_s: set[bytes]):
Python - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 99 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) -
docs/pt/docs/python-types.md
E, ainda assim, o editor sabe que é um `str` e fornece suporte para isso. #### `Tuple` e `Set` Você faria o mesmo para declarar `tuple`s e `set`s: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` Isso significa que: * A variável `items_t` é uma `tuple` com 3 itens, um `int`, outro `int` e uma `str`.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.6K 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` : ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` Dans cet exemple : * La variable `items_t` est un `tuple` avec 3 éléments, un `int`, un deuxième `int`, et un `str`.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.3K bytes - Viewed (0) -
docs/ko/docs/python-types.md
변수 `item`은 `items`의 개별 요소라는 사실을 알아두세요. 그리고 에디터는 계속 `str`라는 사실을 알고 도와줍니다. #### `Tuple`과 `Set` `tuple`과 `set`도 동일하게 선언할 수 있습니다. ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` 이 뜻은 아래와 같습니다: * 변수 `items_t`는, 차례대로 `int`, `int`, `str`인 `tuple`이다. * 변수 `items_s`는, 각 아이템이 `bytes`인 `set`이다. #### `Dict` `dict`를 선언하려면 컴마로 구분된 2개의 파라미터가 필요합니다.
Plain Text - Registered: Sun Apr 21 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 10.5K 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)