- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for 1212 (0.34 sec)
-
docs/ja/docs/tutorial/extra-data-types.md
## 例 ここでは、上記の型のいくつかを使用したパラメータを持つ*path operation*の例を示します。 ```Python hl_lines="1 2 12-16" {!../../../docs_src/extra_data_types/tutorial001.py!} ``` 関数内のパラメータは自然なデータ型を持っていることに注意してください。そして、以下のように通常の日付操作を行うことができます: ```Python hl_lines="18 19" {!../../../docs_src/extra_data_types/tutorial001.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.2K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
!!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="1 2 11-15" {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="1 2 12-16" {!> ../../../docs_src/extra_data_types/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 4.1K bytes - Viewed (0) -
docs/uk/docs/tutorial/extra-data-types.md
Бажано використовувати `Annotated` версію, якщо це можливо. ```Python hl_lines="1 2 11-15" {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Бажано використовувати `Annotated` версію, якщо це можливо. ```Python hl_lines="1 2 12-16" {!> ../../../docs_src/extra_data_types/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 5.8K bytes - Viewed (0) -
docs/de/docs/tutorial/extra-data-types.md
!!! tip Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="1 2 11-15" {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!} ``` === "Python 3.8+ nicht annotiert" !!! tip Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="1 2 12-16" {!> ../../../docs_src/extra_data_types/tutorial001.py!} ```
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 18:08:55 GMT 2024 - 4.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/extra-data-types.md
=== "Python 3.10+ non-Annotated" !!! tip 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="1 2 11-15" {!> ../../../docs_src/extra_data_types/tutorial001_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="1 2 12-16" {!> ../../../docs_src/extra_data_types/tutorial001.py!} ``` 注意,函数内的参数有原生的数据类型,你可以,例如,执行正常的日期操作,如:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.9K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
For example, you could add a custom header `X-Process-Time` containing the time in seconds that it took to process the request and generate a response: ```Python hl_lines="10 12-13" {!../../../docs_src/middleware/tutorial001.py!} ``` ## Other middlewares
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Jan 11 16:31:18 GMT 2024 - 2.9K bytes - Viewed (0) -
docs/de/docs/tutorial/middleware.md
Sie könnten beispielsweise einen benutzerdefinierten Header `X-Process-Time` hinzufügen, der die Zeit in Sekunden enthält, die benötigt wurde, um den Request zu verarbeiten und eine Response zu generieren: ```Python hl_lines="10 12-13" {!../../../docs_src/middleware/tutorial001.py!} ``` ## Andere Middlewares
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Jan 23 11:26:59 GMT 2024 - 3.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/handling-errors.md
修复错误时,客户端或用户不能访问错误的内部信息,否则会造成安全隐患。 ### 覆盖 `HTTPException` 错误处理器 同理,也可以覆盖 `HTTPException` 处理器。 例如,只为错误返回纯文本响应,而不是返回 JSON 格式的内容: ```Python hl_lines="3-4 9-11 22" {!../../../docs_src/handling_errors/tutorial004.py!} ``` !!! note "技术细节" 还可以使用 `from starlette.responses import PlainTextResponse`。
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.4K bytes - Viewed (0) -
docs/em/docs/tutorial/handling-errors.md
& ⏪ 👆 🔧 ⚫️, 👆 👩💻/👩💻 🚫🔜 🚫 ✔️ 🔐 🔗 ℹ 🔃 ❌, 👈 💪 🎦 💂♂ ⚠. ### 🔐 `HTTPException` ❌ 🐕🦺 🎏 🌌, 👆 💪 🔐 `HTTPException` 🐕🦺. 🖼, 👆 💪 💚 📨 ✅ ✍ 📨 ↩️ 🎻 👫 ❌: ```Python hl_lines="3-4 9-11 22" {!../../../docs_src/handling_errors/tutorial004.py!} ``` !!! note "📡 ℹ" 👆 💪 ⚙️ `from starlette.responses import PlainTextResponse`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.3K bytes - Viewed (0) -
docs/ko/docs/tutorial/middleware.md
*경로 작동*을 받기 전 `request`와 함께 작동할 수 있는 코드를 추가할 수 있습니다. 그리고 `response` 또한 생성된 후 반환되기 전에 코드를 추가 할 수 있습니다. 예를 들어, 요청을 수행하고 응답을 생성하는데 까지 걸린 시간 값을 가지고 있는 `X-Process-Time` 같은 사용자 정의 헤더를 추가할 수 있습니다. ```Python hl_lines="10 12-13" {!../../../docs_src/middleware/tutorial001.py!} ``` ## 다른 미들웨어 미들웨어에 대한 더 많은 정보는 [숙련된 사용자 안내서: 향상된 미들웨어](../advanced/middleware.md){.internal-link target=\_blank}에서 확인할 수 있습니다.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Wed Jan 31 14:35:27 GMT 2024 - 3.4K bytes - Viewed (0)