- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 255 for Papp (0.13 sec)
-
docs/en/docs/tutorial/bigger-applications.md
* There's also an `app/dependencies.py` file, just like `app/main.py`, it is a "module": `app.dependencies`. * There's a subdirectory `app/routers/` with another file `__init__.py`, so it's a "Python subpackage": `app.routers`. * The file `app/routers/items.py` is inside a package, `app/routers/`, so, it's a submodule: `app.routers.items`. * The same with `app/routers/users.py`, it's another submodule: `app.routers.users`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/bigger-applications.md
``` * `app` 目录包含了所有内容。并且它有一个空文件 `app/__init__.py`,因此它是一个「Python 包」(「Python 模块」的集合):`app`。 * 它包含一个 `app/main.py` 文件。由于它位于一个 Python 包(一个包含 `__init__.py` 文件的目录)中,因此它是该包的一个「模块」:`app.main`。 * 还有一个 `app/dependencies.py` 文件,就像 `app/main.py` 一样,它是一个「模块」:`app.dependencies`。 * 有一个子目录 `app/routers/` 包含另一个 `__init__.py` 文件,因此它是一个「Python 子包」:`app.routers`。 * 文件 `app/routers/items.py` 位于 `app/routers/` 包中,因此它是一个子模块:`app.routers.items`。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 18.5K bytes - Viewed (0) -
tests/test_dependency_overrides.py
from fastapi.testclient import TestClient app = FastAPI() router = APIRouter() async def common_parameters(q: str, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} @app.get("/main-depends/") async def main_depends(commons: dict = Depends(common_parameters)): return {"in": "main-depends", "params": commons}
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 15.4K bytes - Viewed (0) -
docs/de/docs/advanced/behind-a-proxy.md
prefixes = ["/api/v1"] [http.routers] [http.routers.app-http] entryPoints = ["http"] service = "app" rule = "PathPrefix(`/api/v1`)" middlewares = ["api-stripprefix"] [http.services] [http.services.app] [http.services.app.loadBalancer] [[http.services.app.loadBalancer.servers]] url = "http://127.0.0.1:8000" ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:30:07 GMT 2024 - 13.1K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
💭 👆 🔜 ✔️ 📁 📛 `my_super_project` 👈 🔌 🎧-📁 🤙 `sql_app`. `sql_app` 🔜 ✔️ 📄 📁: * `sql_app/__init__.py`: 🛁 📁. * `sql_app/database.py`: ```Python {!../../../docs_src/sql_databases/sql_app/database.py!} ``` * `sql_app/models.py`: ```Python {!../../../docs_src/sql_databases/sql_app/models.py!} ``` * `sql_app/schemas.py`: === "🐍 3️⃣.6️⃣ & 🔛"
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) -
tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py
from fastapi import FastAPI from fastapi.testclient import TestClient @pytest.fixture(name="app") def get_app(): from docs_src.request_forms_and_files.tutorial001_an import app return app @pytest.fixture(name="client") def get_client(app: FastAPI): client = TestClient(app) return client def test_post_form_no_body(client: TestClient): response = client.post("/files/")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 9.8K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
`sql_app` should have the following files: * `sql_app/__init__.py`: is an empty file. * `sql_app/database.py`: ```Python {!../../../docs_src/sql_databases/sql_app/database.py!} ``` * `sql_app/models.py`: ```Python {!../../../docs_src/sql_databases/sql_app/models.py!} ``` * `sql_app/schemas.py`: === "Python 3.10+"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 29.6K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY ./app /code/app CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] # If running behind a proxy like Nginx or Traefik add --proxy-headers # CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--proxy-headers"] ``` </details> ## 컨테이너란
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/pl/docs/tutorial/first-steps.md
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.8K bytes - Viewed (0) -
docs/em/docs/advanced/behind-a-proxy.md
& ⚫️ ⚙️ 🔘 🕐❔ 🗜 🎧-🈸. ## 🗳 ⏮️ 🎞 ➡ 🔡 ✔️ 🗳 ⏮️ 🎞 ➡ 🔡, 👉 💼, ⛓ 👈 👆 💪 📣 ➡ `/app` 👆 📟, ✋️ ⤴️, 👆 🚮 🧽 🔛 🔝 (🗳) 👈 🔜 🚮 👆 **FastAPI** 🈸 🔽 ➡ 💖 `/api/v1`. 👉 💼, ⏮️ ➡ `/app` 🔜 🤙 🍦 `/api/v1/app`. ✋️ 🌐 👆 📟 ✍ 🤔 📤 `/app`. & 🗳 🔜 **"❎"** **➡ 🔡** 🔛 ✈ ⏭ 📶 📨 Uvicorn, 🚧 👆 🈸 🤔 👈 ⚫️ 🍦 `/app`, 👈 👆 🚫 ✔️ ℹ 🌐 👆 📟 🔌 🔡 `/api/v1`. 🆙 📥, 🌐 🔜 👷 🛎.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 10.1K bytes - Viewed (0)