- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 186 for Main (0.15 sec)
-
docs/en/docs/advanced/generate-clients.md
It could look like this: ```JSON hl_lines="7" { "name": "frontend-app", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "generate-client": "openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios" }, "author": "", "license": "", "devDependencies": {
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.5K bytes - Viewed (0) -
docs/em/docs/advanced/settings.md
<div class="termy"> ```console // Here we don't set the env var yet $ python main.py // As we didn't set the env var, we get the default value Hello World from Python // But if we create an environment variable first $ export MY_NAME="Wade Wilson" // And then call the program again $ python main.py // Now it can read the environment variable Hello Wade Wilson from Python ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.4K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
# (1) COPY ./main.py /code/ # (2) CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"] ``` 1. `main.py` 파일을 `/code` 디렉터리로 곧바로 복사합니다(`./app` 디렉터리는 고려하지 않습니다). 2. Uvicorn을 실행해 `app` 객체를 (`app.main` 대신) `main`으로 부터 불러오도록 합니다. 그 다음 Uvicorn 커맨드를 조정해서 FastAPI 객체를 불러오는데 `app.main` 대신에 새로운 모듈 `main`을 사용하도록 합니다. ## 배포 개념
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 42.6K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
## 👑 **FastAPI** 📱 & 🔜 📁 `sql_app/main.py` ➡️ 🛠️ & ⚙️ 🌐 🎏 🍕 👥 ✍ ⏭. ### ✍ 💽 🏓 📶 🙃 🌌 ✍ 💽 🏓: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="9" {!> ../../../docs_src/sql_databases/sql_app/main.py!} ``` === "🐍 3️⃣.9️⃣ & 🔛" ```Python hl_lines="7" {!> ../../../docs_src/sql_databases/sql_app_py39/main.py!} ``` #### ⚗ 🗒
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 25.2K bytes - Viewed (1) -
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/de/docs/tutorial/testing.md
``` hl_lines="5" . ├── app │ ├── __init__.py │ ├── main.py │ └── test_main.py ``` Da sich diese Datei im selben Package befindet, können Sie relative Importe verwenden, um das Objekt `app` aus dem `main`-Modul (`main.py`) zu importieren: ```Python hl_lines="3" {!../../../docs_src/app_testing/test_main.py!} ``` ... und haben den Code für die Tests wie zuvor. ## Testen: erweitertes Beispiel
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:20:01 GMT 2024 - 7K bytes - Viewed (0) -
docs/hu/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 20.2K bytes - Viewed (0) -
docs/es/docs/index.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Mon Apr 29 05:18:04 GMT 2024 - 19K bytes - Viewed (0) -
docs/em/docs/tutorial/index.md
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)