- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 355 for typing (0.14 sec)
-
docs/nl/docs/index.md
**Opmerking**: Zet `"fastapi[standard]"` tussen aanhalingstekens om ervoor te zorgen dat het werkt in alle terminals. ## Voorbeeld ### Creëer het * Maak het bestand `main.py` aan met daarin: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.2K bytes - Viewed (0) -
docs/pt/docs/index.md
**Nota**: Certifique-se de que você colocou `"fastapi[standard]"` com aspas, para garantir que funcione em todos os terminais. ## Exemplo ### Crie * Crie um arquivo `main.py` com: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.6K bytes - Viewed (0) -
docs/ko/docs/python-types.md
### 타입 매개변수를 활용한 Generic(제네릭) 타입 `dict`, `list`, `set`, `tuple`과 같은 값을 저장할 수 있는 데이터 구조가 있고, 내부의 값은 각자의 타입을 가질 수도 있습니다. 타입과 내부 타입을 선언하기 위해서는 파이썬 표준 모듈인 `typing`을 이용해야 합니다. 구체적으로는 아래 타입 힌트를 지원합니다. #### `List` 예를 들면, `str`의 `list`인 변수를 정의해봅시다. `typing`에서 `List`(대문자 `L`)를 import 합니다. {* ../../docs_src/python_types/tutorial006.py hl[1] *} 콜론(`:`) 문법을 이용하여 변수를 선언합니다. 타입으로는 `List`를 넣어줍니다.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.2K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
We annotate the function return type as `BaseUser`, but we are actually returning a `UserIn` instance. The editor, mypy, and other tools won't complain about this because, in typing terms, `UserIn` is a subclass of `BaseUser`, which means it's a *valid* type when what is expected is anything that is a `BaseUser`. ### FastAPI Data Filtering { #fastapi-data-filtering }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 16K bytes - Viewed (0) -
docs/ru/docs/tutorial/query-params-str-validations.md
Чтобы достичь этого, первым делом нам нужно импортировать: * `Query` из пакета `fastapi`: * `Annotated` из пакета `typing` (или из `typing_extensions` для Python ниже 3.9) //// tab | Python 3.10+ В Python 3.9 или выше, `Annotated` является частью стандартной библиотеки, таким образом вы можете импортировать его из `typing`. ```Python hl_lines="1 3" {!> ../../docs_src/query_params_str_validations/tutorial002_an_py310.py!} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 15 16:23:59 UTC 2025 - 24K bytes - Viewed (0) -
docs/zh-hant/docs/index.md
<div class="termy"> ```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> ## 範例 ### 建立 - 建立一個 python 檔案 `main.py`,並寫入以下程式碼: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 18.8K bytes - Viewed (0) -
docs/fr/docs/index.md
<div class="termy"> ```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> ## Exemple ### Créez * Créez un fichier `main.py` avec : ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 22K bytes - Viewed (0) -
docs/pl/docs/features.md
* Walidacja **złożonych struktur**: * Wykorzystanie hierarchicznych modeli Pydantic, Pythonowego modułu `typing` zawierającego `List`, `Dict`, itp. * Walidatory umożliwiają jasne i łatwe definiowanie, sprawdzanie złożonych struktur danych oraz dokumentowanie ich jako JSON Schema.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 10.9K bytes - Viewed (0) -
docs/de/docs/tutorial/query-params-str-validations.md
### `Query` und `Annotated` importieren Importieren Sie zuerst: * `Query` von `fastapi` * `Annotated` von `typing` (oder von `typing_extensions` in Python unter 3.9) //// tab | Python 3.10+ In Python 3.9 oder darüber, ist `Annotated` Teil der Standardbibliothek, also können Sie es von `typing` importieren. ```Python hl_lines="1 3" {!> ../../docs_src/query_params_str_validations/tutorial002_an_py310.py!} ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Feb 15 16:23:59 UTC 2025 - 16.6K bytes - Viewed (0) -
README.md
**Note**: Make sure you put `"fastapi[standard]"` in quotes to ensure it works in all terminals. ## Example { #example } ### Create it { #create-it } Create a file `main.py` with: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}")
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 15:19:49 UTC 2025 - 24.3K bytes - Viewed (0)