- Sort Score
- Num 10 results
- Language All
Results 1901 - 1910 of 2,110 for py$ (0.41 seconds)
-
docs/de/docs/tutorial/security/oauth2-jwt.md
{* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## Die *Pfadoperation* `/token` aktualisieren { #update-the-token-path-operation } Erstellen Sie ein <abbr title="Zeitdifferenz">`timedelta`</abbr> mit der Ablaufzeit des Tokens. Erstellen Sie einen echten JWT-Zugriffstoken und geben Sie ihn zurück. {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 12.9K bytes - Click Count (0) -
docs/es/docs/tutorial/security/oauth2-jwt.md
{* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## Actualizar la *path operation* `/token` { #update-the-token-path-operation } Crea un `timedelta` con el tiempo de expiración del token. Crea un verdadero token de acceso JWT y devuélvelo. {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 11.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/index.md
/// ### 导入 `Depends` { #import-depends } {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### 在“dependant”中声明依赖项 { #declare-the-dependency-in-the-dependant } 与在*路径操作函数*的参数中使用 `Body`、`Query` 等相同,给参数使用 `Depends` 来声明一个新的依赖项: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *} 虽然你在函数参数中使用 `Depends` 的方式与 `Body`、`Query` 等相同,但 `Depends` 的工作方式略有不同。 这里只能给 `Depends` 传入一个参数。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/es/docs/advanced/testing-websockets.md
Puedes usar el mismo `TestClient` para probar WebSockets. Para esto, usas el `TestClient` en un statement `with`, conectándote al WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note | Nota Para más detalles, revisa la documentación de Starlette sobre [probar WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 429 bytes - Click Count (0) -
docs/es/docs/tutorial/middleware.md
* Luego devuelve la `response` generada por la correspondiente *path operation*. * Puedes entonces modificar aún más la `response` antes de devolverla. {* ../../docs_src/middleware/tutorial001_py310.py hl[8:9,11,14] *} /// tip | Consejo Ten en cuenta que los custom proprietary headers se pueden añadir [usando el prefijo `X-`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/ja/docs/advanced/response-headers.md
## `Response` パラメータを使う { #use-a-response-parameter } (Cookie と同様に)*path operation 関数*で `Response` 型のパラメータを宣言できます。 そして、その*一時的*なレスポンスオブジェクトにヘッダーを設定できます。 {* ../../docs_src/response_headers/tutorial002_py310.py hl[1, 7:8] *} その後は通常どおり、必要な任意のオブジェクト(`dict`、データベースモデルなど)を返せます。 `response_model` を宣言している場合は、返したオブジェクトのフィルタと変換に引き続き使用されます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 2.7K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/index.md
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### Déclarer la dépendance, dans le « dependant » { #declare-the-dependency-in-the-dependant } De la même manière que vous utilisez `Body`, `Query`, etc. avec les paramètres de votre fonction de chemin d’accès, utilisez `Depends` avec un nouveau paramètre : {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/uk/docs/tutorial/security/oauth2-jwt.md
Якщо токен недійсний, одразу поверніть помилку HTTP. {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *} ## Оновіть операцію шляху `/token` { #update-the-token-path-operation } Створіть `timedelta` з часом життя токена. Створіть справжній токен доступу JWT і поверніть його. {* ../../docs_src/security/tutorial004_an_py310.py hl[121:136] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 17.9K bytes - Click Count (0) -
docs/ja/docs/advanced/events.md
{* ../../docs_src/events/tutorial003_py310.py hl[14:19] *} `yield` の前の前半は、アプリケーションが開始される「前」に実行されます。 `yield` の後半は、アプリケーションの処理が「終了」した「後」に実行されます。 ### 非同期コンテキストマネージャ { #async-context-manager } この関数には `@asynccontextmanager` がデコレートされています。 これにより、この関数は「非同期コンテキストマネージャ」になります。 {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/de/docs/advanced/generate-clients.md
## Ein TypeScript-SDK erstellen { #create-a-typescript-sdk } Beginnen wir mit einer einfachen FastAPI-Anwendung: {* ../../docs_src/generate_clients/tutorial001_py310.py hl[7:9,12:13,16:17,21] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 11.3K bytes - Click Count (0)