- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for read_items (0.17 sec)
-
fastapi/param_functions.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 62.5K bytes - Viewed (0) -
docs/ru/docs/deployment/docker.md
```Python from typing import Union 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: Union[str, None] = None): return {"item_id": item_id, "q": q} ``` ### Dockerfile В этой же директории создайте файл `Dockerfile` и заполните его: ```{ .dockerfile .annotate }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 57.6K bytes - Viewed (0)