- Sort Score
- Result 10 results
- Languages All
Results 1141 - 1150 of 1,916 for FastApi (0.05 sec)
-
.github/workflows/publish.yml
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Nov 21 13:03:21 UTC 2025 - 1K bytes - Viewed (0) -
docs/es/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
Si tienes una app de FastAPI antigua, podrías estar usando Pydantic versión 1. FastAPI ha tenido compatibilidad con Pydantic v1 o v2 desde la versión 0.100.0. Si tenías instalado Pydantic v2, lo usaba. Si en cambio tenías Pydantic v1, usaba ese.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:16:35 UTC 2025 - 5.6K bytes - Viewed (0) -
docs/de/docs/tutorial/cors.md
## `CORSMiddleware` verwenden { #use-corsmiddleware } Sie können das in Ihrer **FastAPI**-Anwendung mit der `CORSMiddleware` konfigurieren. * Importieren Sie `CORSMiddleware`. * Erstellen Sie eine Liste der erlaubten Origins (als Strings). * Fügen Sie es als „Middleware“ zu Ihrer **FastAPI**-Anwendung hinzu. Sie können auch angeben, ob Ihr Backend erlaubt:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.3K bytes - Viewed (0) -
docs/ja/docs/advanced/websockets.md
{* ../../docs_src/websockets/tutorial001.py hl[2,6:38,41:43] *} ## `websocket` を作成する **FastAPI** アプリケーションで、`websocket` を作成します。 {* ../../docs_src/websockets/tutorial001.py hl[1,46:47] *} /// note | 技術詳細 `from starlette.websockets import WebSocket` を使用しても構いません. **FastAPI** は開発者の利便性のために、同じ `WebSocket` を提供します。しかし、こちらはStarletteから直接提供されるものです。 /// ## メッセージの送受信Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 7.1K bytes - Viewed (0) -
docs/de/docs/deployment/index.md
Zum Beispiel haben wir, das Team hinter FastAPI, <a href="https://fastapicloud.com" class="external-link" target="_blank">**FastAPI Cloud**</a> entwickelt, um das Deployment von FastAPI-Apps in der Cloud so reibungslos wie möglich zu gestalten, mit derselben Developer-Experience wie beim Arbeiten mit FastAPI.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 02 17:32:56 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/query-param-models.md
こうすることで、**複数の場所**で**そのPydanticモデルを再利用**でき、バリデーションやメタデータを、すべてのクエリパラメータに対して一度に宣言できます。😎 /// note | 備考 この機能は、FastAPIのバージョン `0.115.0` からサポートされています。🤓 /// ## クエリパラメータにPydanticモデルを使用する 必要な**複数のクエリパラメータ**を**Pydanticモデル**で宣言し、さらに、それを `Query` として宣言しましょう: {* ../../docs_src/query_param_models/tutorial001_an_py310.py hl[9:13,17] *} **FastAPI**は、リクエストの**クエリパラメータ**からそれぞれの**フィールド**のデータを**抽出**し、定義された**Pydanticモデル**を提供します。 ## ドキュメントの確認Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Feb 28 14:18:46 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/cookie-param-models.md
这将允许您在**多个地方**能够**重用模型**,并且可以一次性声明所有参数的验证方式和元数据。😎 /// note 自 FastAPI 版本 `0.115.0` 起支持此功能。🤓 /// /// tip 此技术同样适用于 `Query` 、 `Cookie` 和 `Header` 。😎 /// ## 带有 Pydantic 模型的 Cookie 在 **Pydantic** 模型中声明所需的 **cookie** 参数,然后将参数声明为 `Cookie` : {* ../../docs_src/cookie_param_models/tutorial001_an_py310.py hl[9:12,16] *} **FastAPI** 将从请求中接收到的 **cookie** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。 ## 查看文档Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 10 20:38:03 UTC 2024 - 3K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
} ``` ### Setting the `root_path` in the FastAPI app { #setting-the-root-path-in-the-fastapi-app } Alternatively, if you don't have a way to provide a command line option like `--root-path` or equivalent, you can set the `root_path` parameter when creating your FastAPI app: {* ../../docs_src/behind_a_proxy/tutorial002_py39.py hl[3] *}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 16.4K bytes - Viewed (0) -
tests/test_dependency_paramless.py
from typing import Annotated, Union from fastapi import FastAPI, HTTPException, Security from fastapi.security import ( OAuth2PasswordBearer, SecurityScopes, ) from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="token") def process_auth( credentials: Annotated[Union[str, None], Security(oauth2_scheme)], security_scopes: SecurityScopes, ):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.3K bytes - Viewed (0) -
docs/pt/docs/advanced/middleware.md
new_app = UnicornMiddleware(app, some_config="rainbow") ``` Mas, o FastAPI (na verdade, o Starlette) fornece uma maneira mais simples de fazer isso que garante que os middlewares internos lidem com erros do servidor e que os manipuladores de exceções personalizados funcionem corretamente. Para isso, você usa `app.add_middleware()` (como no exemplo para CORS). ```Python from fastapi import FastAPI from unicorn import UnicornMiddleware app = FastAPI()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.7K bytes - Viewed (0)