- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for init (0.14 sec)
-
docs/ru/docs/deployment/docker.md
* Создайте директорию `app` и перейдите в неё. * Создайте пустой файл `__init__.py`. * Создайте файл `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}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 57.5K bytes - Viewed (0) -
fastapi/param_functions.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 62.5K bytes - Viewed (0) -
tests/test_application.py
} } }, }, }, "summary": "Get Int Id", "operationId": "get_int_id_path_int__item_id__get", "parameters": [ { "required": True,
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 21:56:59 GMT 2024 - 52.2K bytes - Viewed (0)