- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 873 for Python (0.08 sec)
-
docs/zh/docs/advanced/testing-dependencies.md
这样一来,**FastAPI** 就会调用覆盖依赖项,不再调用原依赖项。 ```Python hl_lines="26-27 30" {!../../docs_src/dependency_testing/tutorial001.py!} ``` /// tip | "提示" **FastAPI** 应用中的任何位置都可以实现覆盖依赖项。 原依赖项可用于*路径操作函数*、*路径操作装饰器*(不需要返回值时)、`.include_router()` 调用等。 FastAPI 可以覆盖这些位置的依赖项。 /// 然后,使用 `app.dependency_overrides` 把覆盖依赖项重置为空**字典**: ```Python app.dependency_overrides = {} ``` /// tip | "提示"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 1.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/response-status-code.md
* `@app.put()` * `@app.delete()` * など。 ```Python hl_lines="6" {!../../docs_src/response_status_code/tutorial001.py!} ``` /// note | "備考" `status_code`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数*のものではありません。 /// `status_code`パラメータはHTTPステータスコードを含む数値を受け取ります。 /// info | "情報"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.6K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh
# # This will create a venv with that wheel file installed in it, and a symlink # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the # "pip" tests. python -m venv /$1 mkdir -p $1 rm -f ./$1/tensorflow ln -s $(ls /$1/lib) /$1/lib/python3 ln -s ../tensorflow $1/tensorflow # extglob is necessary for @(a|b) pattern matching # see "extglob" in the bash manual page ($ man bash) bash -O extglob -c "/$1/bin/pip install $2"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 1.4K bytes - Viewed (0) -
docs/de/docs/project-generation.md
* Vollständige **Docker**-Integration (Docker-basiert). * Docker-Schwarmmodus-Deployment. * **Docker Compose**-Integration und Optimierung für die lokale Entwicklung. * **Produktionsbereit** Python-Webserver, verwendet Uvicorn und Gunicorn. * Python <a href="https://github.com/fastapi/fastapi" class="external-link" target="_blank">**FastAPI**</a>-Backend:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 6.5K bytes - Viewed (0) -
fastapi/security/oauth2.py
from fastapi.security.utils import get_authorization_scheme_param from starlette.requests import Request from starlette.status import HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN # TODO: import from typing when deprecating Python 3.9 from typing_extensions import Annotated, Doc class OAuth2PasswordRequestForm: """ This is a dependency class to collect the `username` and `password` as form data for an OAuth2 password flow.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 21.1K bytes - Viewed (0) -
docs/en/docs/release-notes.md
## 0.71.0 ### Features * ✨ Add docs and tests for Python 3.9 and Python 3.10. PR [#3712](https://github.com/tiangolo/fastapi/pull/3712) by [@tiangolo](https://github.com/tiangolo). * You can start with [Python Types Intro](https://fastapi.tiangolo.com/python-types/), it explains what changes between different Python versions, in Python 3.9 and in Python 3.10.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Nov 01 11:25:57 UTC 2024 - 460.3K bytes - Viewed (0) -
docs/em/docs/async.md
## 🏃 ❓ <abbr title="too long; didn't read"><strong>🆑;👩⚕️:</strong></abbr> 🚥 👆 ⚙️ 🥉 🥳 🗃 👈 💬 👆 🤙 👫 ⏮️ `await`, 💖: ```Python results = await some_library() ``` ⤴️, 📣 👆 *➡ 🛠️ 🔢* ⏮️ `async def` 💖: ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` /// note
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 18.7K bytes - Viewed (0) -
docs/fr/docs/deployment/docker.md
Dans ce cas, votre `Dockerfile` pourrait ressembler à ceci : ```Dockerfile FROM python:3.7 RUN pip install fastapi uvicorn EXPOSE 80 COPY ./app /app
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/em/docs/advanced/testing-websockets.md
# 🔬 *️⃣ 👆 💪 ⚙️ 🎏 `TestClient` 💯*️⃣. 👉, 👆 ⚙️ `TestClient` `with` 📄, 🔗*️⃣: ```Python hl_lines="27-31" {!../../docs_src/app_testing/tutorial002.py!} ``` /// note 🌅 ℹ, ✅ 💃 🧾 <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">🔬 *️⃣ </a>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 371 bytes - Viewed (0) -
docs/en/docs/reference/httpconnection.md
You can import it from `fastapi.requests`: ```python from fastapi.requests import HTTPConnection ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 359 bytes - Viewed (0)