- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 981 for tutorial002_py310 (1.35 seconds)
-
docs/zh/docs/advanced/testing-websockets.md
# 测试 WebSockets { #testing-websockets } 你可以使用同一个 `TestClient` 来测试 WebSockets。 为此,在 `with` 语句中使用 `TestClient` 连接到 WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note | 注意 更多细节请查看 Starlette 的文档:[测试 WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 403 bytes - Click Count (0) -
docs/zh-hant/docs/advanced/testing-websockets.md
# 測試 WebSocket { #testing-websockets } 你可以使用相同的 `TestClient` 來測試 WebSocket。 為此,你可以在 `with` 陳述式中使用 `TestClient`,連線到該 WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note | 注意 想了解更多,請參考 Starlette 的[測試 WebSocket](https://www.starlette.dev/testclient/#testing-websocket-sessions)文件。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 420 bytes - Click Count (0) -
pyproject.toml
"docs_src/custom_request_and_route/tutorial002_py310.py" = ["B904"] "docs_src/custom_request_and_route/tutorial002_py39.py" = ["B904"] "docs_src/custom_response/tutorial007_py310.py" = ["B007"] "docs_src/custom_response/tutorial007_py39.py" = ["B007"] "docs_src/dataclasses/tutorial003_py39.py" = ["I001"] "docs_src/dependencies/tutorial007_py310.py" = ["F821"] "docs_src/dependencies/tutorial007_py39.py" = ["F821"]
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 10.3K bytes - Click Count (0) -
docs/ko/docs/how-to/configure-swagger-ui.md
{* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *} ...그럼 Swagger UI에서 더 이상 구문 강조 기능이 표시되지 않습니다: <img src="/img/tutorial/extending-openapi/image03.png"> ## 테마 변경 { #change-the-theme } 동일한 방식으로 `"syntaxHighlight.theme"` 키를 사용하여 구문 강조 테마를 설정할 수 있습니다 (중간에 점이 포함된 것을 참고하십시오). {* ../../docs_src/configure_swagger_ui/tutorial002_py310.py hl[3] *} 이 설정은 구문 강조 색상 테마를 변경합니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/en/docs/tutorial/path-operation-configuration.md
**FastAPI** supports that the same way as with plain strings: {* ../../docs_src/path_operation_configuration/tutorial002b_py310.py hl[1,8:10,13,18] *} ## Summary and description { #summary-and-description } You can add a `summary` and `description`: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[17:18] *} ## Description from docstring { #description-from-docstring }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0) -
docs/en/docs/advanced/response-cookies.md
You can declare a parameter of type `Response` in your *path operation function*. And then you can set cookies in that *temporal* response object. {* ../../docs_src/response_cookies/tutorial002_py310.py hl[1, 8:9] *} And then you can return any object you need, as you normally would (a `dict`, a database model, etc).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.2K bytes - Click Count (0) -
docs/en/docs/how-to/configure-swagger-ui.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.8K bytes - Click Count (0) -
docs/en/docs/advanced/custom-response.md
{* ../../docs_src/response_directly/tutorial002_py310.py hl[1,18] *} ### `HTMLResponse` { #htmlresponse } Takes some text or bytes and returns an HTML response, as you read above. ### `PlainTextResponse` { #plaintextresponse } Takes some text or bytes and returns a plain text response. {* ../../docs_src/custom_response/tutorial005_py310.py hl[2,7,9] *} ### `JSONResponse` { #jsonresponse }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/zh-hant/docs/how-to/configure-swagger-ui.md
但你可以將 `syntaxHighlight` 設為 `False` 來停用它: {* ../../docs_src/configure_swagger_ui/tutorial001_py310.py hl[3] *} ...然後 Swagger UI 就不會再顯示語法醒目提示: <img src="/img/tutorial/extending-openapi/image03.png"> ## 更換主題 { #change-the-theme } 同樣地,你可以用鍵 `"syntaxHighlight.theme"` 設定語法醒目提示主題(注意中間有一個點): {* ../../docs_src/configure_swagger_ui/tutorial002_py310.py hl[3] *} 這個設定會變更語法醒目提示的配色主題:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 2.7K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md
## Simple code includes { #simple-code-includes } {* ../../docs_src/python_types/tutorial001_py310.py *} {* ../../docs_src/python_types/tutorial002_py310.py *} ## Code includes with highlighting { #code-includes-with-highlighting } {* ../../docs_src/python_types/tutorial002_py310.py hl[1] *} {* ../../docs_src/python_types/tutorial006_py310.py hl[10] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 08:08:04 GMT 2026 - 7.6K bytes - Click Count (0)