- Sort Score
- Num 10 results
- Language All
Results 1071 - 1080 of 1,102 for DEF (0.06 seconds)
-
docs/pt/docs/deployment/docker.md
* Crie um arquivo vazio `__init__.py`. * Crie um arquivo `main.py` com: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile { #dockerfile }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 30.9K bytes - Click Count (0) -
docs/uk/docs/deployment/docker.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 44.2K bytes - Click Count (0) -
docs/fr/docs/python-types.md
```python from typing import Any def some_function(data: Any): print(data) ``` ### Types génériques { #generic-types }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 12.7K bytes - Click Count (0) -
docs/es/docs/deployment/docker.md
* Crea un archivo vacío `__init__.py`. * Crea un archivo `main.py` con: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile { #dockerfile }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 30.8K bytes - Click Count (0) -
docs/de/docs/deployment/docker.md
* Erstellen Sie eine `main.py`-Datei mit: ```Python from fastapi import FastAPI app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile { #dockerfile }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 32.4K bytes - Click Count (0) -
docs/tr/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` Buna karşılık bir FastAPI API *path operation*’ı şöyle olabilir: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` `requests.get(...)` ile `@app.get(...)` arasındaki benzerliklere bakın. /// check | **FastAPI**'a ilham olan * Basit ve sezgisel bir API’ya sahip olmak.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 24K bytes - Click Count (0) -
docs/ru/docs/tutorial/bigger-applications.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 29.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/request-files.md
- `close()`: ファイルを閉じます。 これらはすべて `async` メソッドなので、`await` する必要があります。 例えば、`async` の *path operation 関数* 内では次のように内容を取得できます: ```Python contents = await myfile.read() ``` 通常の `def` の *path operation 関数* 内にいる場合は、`UploadFile.file` に直接アクセスできます。例えば: ```Python contents = myfile.file.read() ``` /// note | `async` の技術詳細 `async` メソッドを使うと、**FastAPI** はファイルメソッドをスレッドプールで実行し、その完了を待機します。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/ru/docs/alternatives.md
```Python response = requests.get("http://example.com/some/url") ``` Соответствующая в FastAPI API-операция пути могла бы выглядеть так: ```Python hl_lines="1" @app.get("/some/url") def read_url(): return {"message": "Hello World"} ``` Посмотрите, насколько похожи `requests.get(...)` и `@app.get(...)`. /// check | Вдохновило **FastAPI** на * Иметь простой и понятный API.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 37.1K bytes - Click Count (0) -
docs/de/docs/tutorial/bigger-applications.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 21.9K bytes - Click Count (0)