- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 355 for typing (0.06 sec)
-
docs/de/docs/index.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.1K bytes - Viewed (0) -
docs/ru/docs/index.md
```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> ## Пример ### Создание * Создайте файл `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 - 25.8K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
But Python has a specific way to declare lists with internal types, or "type parameters": ### Import typing's `List` { #import-typings-list } In Python 3.9 and above you can use the standard `list` to declare these type annotations as we'll see below. 💡 But in Python versions before 3.9 (3.6 and above), you first need to import `List` from standard Python's `typing` module: {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/az/docs/index.md
```console $ pip install "uvicorn[standard]" ---> 100% ``` </div> ## Nümunə ### Kodu yaradaq * `main.py` adlı fayl yaradaq və ona aşağıdakı kodu yerləşdirək: ```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 - 22.7K bytes - Viewed (0) -
docs/de/docs/features.md
Wenn Sie eine zweiminütige Auffrischung benötigen, wie man Python-Typen verwendet (auch wenn Sie FastAPI nicht benutzen), schauen Sie sich das kurze Tutorial an: [Einführung in Python-Typen](python-types.md){.internal-link target=_blank}. Sie schreiben Standard-Python mit Typen: ```Python from typing import List, Dict from datetime import date from pydantic import BaseModel
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Thu Aug 15 23:30:12 UTC 2024 - 10.7K bytes - Viewed (0) -
docs/pl/docs/index.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.6K bytes - Viewed (0) -
docs/fr/docs/deployment/docker.md
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] ``` ## Créer le code **FastAPI**. * Créer un répertoire `app` et y entrer. * Créez un fichier `main.py` avec : ```Python from typing import Optional 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: Sat Nov 09 16:39:20 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
하지만 파이썬은 내부의 타입이나 "타입 매개변수"를 선언할 수 있는 특정 방법이 있습니다: ### typing의 `List` 임포트 먼저, 파이썬 표준 `typing` 모듈에서 `List`를 임포트합니다: {* ../../docs_src/body_nested_models/tutorial002.py hl[1] *} ### 타입 매개변수로 `List` 선언 `list`, `dict`, `tuple`과 같은 타입 매개변수(내부 타입)를 갖는 타입을 선언하려면: * `typing` 모듈에서 임포트 * 대괄호를 사용하여 "타입 매개변수"로 내부 타입 전달: `[` 및 `]` ```Python from typing import List my_list: List[str] ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 7.3K bytes - Viewed (0) -
docs/id/docs/index.md
**Catatan**: Pastikan anda menulis `"fastapi[standard]"` dengan tanda petik untuk memastikan bisa digunakan di semua *terminal*. ## Contoh ### Buat app * Buat file `main.py` dengan: ```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 - 20.5K bytes - Viewed (0) -
docs/it/docs/index.md
```console $ pip install uvicorn[standard] ---> 100% ``` </div> ## Esempio ### Crea un file * Crea un file `main.py` con: ```Python from fastapi import FastAPI from typing import Optional app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str = Optional[None]):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 19.5K bytes - Viewed (0)