- Sort Score
- Result 10 results
- Languages All
Results 1841 - 1850 of 1,992 for Fastapi (0.17 sec)
-
scripts/playwright/request_form_models/image01.py
page.screenshot(path="docs/en/docs/img/tutorial/request-form-models/image01.png") # --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/request_form_models/tutorial001.py"] ) try: for _ in range(3): try: response = httpx.get("http://localhost:8000/docs") except httpx.ConnectError:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Sep 13 09:14:46 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/ja/docs/virtual-environments.md
以下のコマンドを実行したとき: <div class="termy"> ```console // Don't run this now, it's just an example 🤓 $ pip install "fastapi[standard]" ---> 100% ``` </div> FastAPIのコードを含む圧縮ファイルが、通常は [PyPI](https://pypi.org/project/fastapi/) からダウンロードされます。 また、FastAPIが依存する他のパッケージも**ダウンロード**されます。 それから、これらのファイルは**解凍**され、コンピュータのあるディレクトリに配置されます。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 19 12:22:33 UTC 2025 - 27.8K bytes - Viewed (0) -
docs/es/docs/how-to/conditional-openapi.md
Por ejemplo: {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *} Aquí declaramos la configuración `openapi_url` con el mismo valor por defecto de `"/openapi.json"`. Y luego la usamos al crear la app de `FastAPI`. Entonces podrías desactivar OpenAPI (incluyendo las UI de documentación) configurando la variable de entorno `OPENAPI_URL` a una string vacía, así: <div class="termy"> ```console $ OPENAPI_URL= uvicorn main:appRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.6K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-models.md
) ``` /// warning | 警告 辅助的附加函数只是为了演示可能的数据流,但它们显然不能提供任何真正的安全机制。 /// ## 减少重复 **FastAPI** 的核心思想就是减少代码重复。 代码重复会导致 bug、安全问题、代码失步等问题(更新了某个位置的代码,但没有同步更新其它位置的代码)。 上面的这些模型共享了大量数据,拥有重复的属性名和类型。 FastAPI 可以做得更好。 声明 `UserBase` 模型作为其它模型的基类。然后,用该类衍生出继承其属性(类型声明、验证等)的子类。 所有数据转换、校验、文档等功能仍将正常运行。
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.7K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005.py
import importlib from types import ModuleType import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="mod", params=[ pytest.param("tutorial005_py39"), pytest.param("tutorial005_py310", marks=needs_py310), pytest.param("tutorial005_an_py39"), pytest.param("tutorial005_an_py310", marks=needs_py310),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 15.8K bytes - Viewed (0) -
tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py
from fastapi.testclient import TestClient from docs_src.configure_swagger_ui.tutorial003_py39 import app client = TestClient(app) def test_swagger_ui(): response = client.get("/docs") assert response.status_code == 200, response.text assert '"deepLinking": false,' in response.text, ( "overridden configs should be preserved" ) assert '"deepLinking": true' not in response.text, (
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.5K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008d.py
import importlib from types import ModuleType import pytest from fastapi.testclient import TestClient @pytest.fixture( name="mod", params=[ pytest.param("tutorial008d_py39"), pytest.param("tutorial008d_an_py39"), ], ) def get_mod(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.dependencies.{request.param}") return mod
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.4K bytes - Viewed (0) -
docs/ko/docs/advanced/events.md
위의 코드 예제에서는 직접 사용하지 않고, FastAPI에 전달하여 사용하도록 합니다. `FastAPI` 애플리케이션의 `lifespan` 매개변수는 **비동기 컨텍스트 매니저**를 받기 때문에, 새로운 `lifespan` 비동기 컨텍스트 매니저를 FastAPI에 전달할 수 있습니다. {* ../../docs_src/events/tutorial003.py hl[22] *} ## 대체 이벤트 (사용 중단) /// warning | 경고Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 9.2K bytes - Viewed (0) -
docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md
## Глобальные Зависимости { #global-dependencies }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 5.1K bytes - Viewed (0) -
docs/pt/docs/how-to/conditional-openapi.md
Por exemplo: {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *} Aqui declaramos a configuração `openapi_url` com o mesmo padrão de `"/openapi.json"`. E então a usamos ao criar a aplicação `FastAPI`. Então você pode desabilitar o OpenAPI (incluindo a documentação da interface do usuário) definindo a variável de ambiente `OPENAPI_URL` como uma string vazia, como: <div class="termy"> ```consoleRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.7K bytes - Viewed (0)