- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 196 for main (0.21 sec)
-
docs/em/docs/advanced/path-operation-advanced-configuration.md
## ๐ โ ๐โ ๐ ๐ฃ *โก ๐ ๏ธ* ๐ ๐ธ, **FastAPI** ๐ ๐ ๐ ๐ ๐ ๐ *โก ๐ ๏ธ* ๐ ๐ ๐. !!! note "๐ก โน" ๐ ๐ง โซ๏ธ ๐ค <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object" class="external-link" target="_blank">๐ ๏ธ ๐</a>. โซ๏ธ โ๏ธ ๐ โน ๐ *โก ๐ ๏ธ* & โ๏ธ ๐ ๐ง ๐งพ. โซ๏ธ ๐ `tags`, `parameters`, `requestBody`, `responses`, โ๏ธ.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 5.7K bytes - Viewed (0) -
docs/en/docs/advanced/sub-applications.md
```Python hl_lines="11 19" {!../../../docs_src/sub_applications/tutorial001.py!} ``` ### Check the automatic API docs Now, run `uvicorn` with the main app, if your file is `main.py`, it would be: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.9K bytes - Viewed (0) -
docs/em/docs/tutorial/debugging.md
## ๐ค `uvicorn` ๐ FastAPI ๐ธ, ๐ & ๐ `uvicorn` ๐: ```Python hl_lines="1 15" {!../../../docs_src/debugging/tutorial001.py!} ``` ### ๐ `__name__ == "__main__"` ๐ ๐ฏ `__name__ == "__main__"` โ๏ธ ๐ ๐ ๐ ๏ธ ๐โ ๐ ๐ ๐ค โฎ๏ธ: <div class="termy"> ```console $ python myapp.py ``` </div> โ๏ธ ๐ซ ๐ค ๐โ โ1๏ธโฃ ๐ ๐ โซ๏ธ, ๐: ```Python from myapp import app ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 2.1K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_py310.py
from ...utils import needs_py310 @pytest.fixture(name="app") def get_app(): from docs_src.websockets.tutorial002_py310 import app return app @needs_py310 def test_main(app: FastAPI): client = TestClient(app) response = client.get("/") assert response.status_code == 200, response.text assert b"<!DOCTYPE html>" in response.content @needs_py310
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 3.9K bytes - Viewed (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
"description": "Production environment", }, ], "paths": { "/app": { "get": { "summary": "Read Main", "operationId": "read_main_app_get", "responses": { "200": { "description": "Successful Response",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 1.6K bytes - Viewed (0) -
docs/en/docs/advanced/middleware.md
# Advanced Middleware In the main tutorial you read how to add [Custom Middleware](../tutorial/middleware.md){.internal-link target=_blank} to your application. And then you also read how to handle [CORS with the `CORSMiddleware`](../tutorial/cors.md){.internal-link target=_blank}. In this section we'll see how to use other middlewares. ## Adding ASGI middlewares
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 10 18:27:10 GMT 2023 - 4K bytes - Viewed (0) -
docs/em/docs/advanced/testing-database.md
๐ฆ & ๐ฏ ๐ ๐ฏ ๐ฌ ๐, ๐ฅ ๐จ โซ๏ธ. ## โ ๐ฝ โฉ๏ธ ๐ ๐ฅ ๐ โ๏ธ ๐ ๐ฝ ๐ ๐, ๐ฅ ๐ช โ ๐ญ ๐ฅ โ ๐ฝ โฎ๏ธ: ```Python Base.metadata.create_all(bind=engine) ``` ๐ ๐ ๐ค `main.py`, โ๏ธ โธ `main.py` โ๏ธ ๐ฝ ๐ `sql_app.db`, & ๐ฅ ๐ช โ ๐ญ ๐ฅ โ `test.db` ๐ฏ. ๐ฅ ๐ฎ ๐ โธ ๐ฅ, โฎ๏ธ ๐ ๐. ```Python hl_lines="16" {!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!} ``` ## ๐ ๐
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Apr 01 09:26:04 GMT 2023 - 2.6K bytes - Viewed (0) -
docs/de/docs/advanced/websockets.md
{!../../../docs_src/websockets/tutorial001.py!} ``` Sie kรถnnen Binรคr-, Text- und JSON-Daten empfangen und senden. ## Es ausprobieren Wenn Ihre Datei `main.py` heiรt, fรผhren Sie Ihre Anwendung so aus: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:58 GMT 2024 - 6.9K bytes - Viewed (0) -
docs/em/docs/tutorial/index.md
โซ๏ธ ๐ ๐ท ๐ฎ ๐. ๐ ๐ช ๐ ๐ & ๐ โซ๏ธโ โซ๏ธโ ๐ ๐ช. ## ๐ ๐ ๐ ๐ ๐ซ ๐ช ๐ & โ๏ธ ๐ (๐ซ ๐ค ๐ฏ ๐ ๐). ๐ ๐ ๐ผ, ๐ ๐ ๐ `main.py`, & โถ๏ธ `uvicorn` โฎ๏ธ: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jun 24 14:47:15 GMT 2023 - 2.2K bytes - Viewed (0) -
docs/zh/docs/advanced/sub-applications.md
ๅจ้กถๅฑๅบ็จ `app` ไธญ๏ผๆ่ฝฝๅญๅบ็จ `subapi`ใ ๆฌไพ็ๅญๅบ็จๆ่ฝฝๅจ `/subapi` ่ทฏๅพไธ๏ผ ```Python hl_lines="11 19" {!../../../docs_src/sub_applications/tutorial001.py!} ``` ### ๆฅ็ๆๆกฃ ๅฆๆไธปๆไปถๆฏ `main.py`๏ผๅ็จไปฅไธ `uvicorn` ๅฝไปค่ฟ่กไธปๅบ็จ๏ผ <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 2.5K bytes - Viewed (0)