- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 981 for tutorial002_py310 (0.1 seconds)
-
docs/pt/docs/advanced/testing-websockets.md
Você pode usar o mesmo `TestClient` para testar WebSockets. Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket: {* ../../docs_src/app_testing/tutorial002_py310.py hl[27:31] *} /// note | Nota Para mais detalhes, confira a documentação do Starlette para [testar WebSockets](https://www.starlette.dev/testclient/#testing-websocket-sessions).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 449 bytes - Click Count (0) -
docs/ru/docs/python-types.md
{* ../../docs_src/python_types/tutorial003_py310.py hl[1] *} Так как редактор кода знает типы переменных, вы получаете не только автозавершение, но и проверки ошибок: <img src="/img/python-types/image04.png"> Теперь вы знаете, что нужно исправить — преобразовать `age` в строку с помощью `str(age)`: {* ../../docs_src/python_types/tutorial004_py310.py hl[2] *} ## Объявление типов { #declaring-types }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 17.7K bytes - Click Count (0) -
docs/es/docs/tutorial/server-sent-events.md
{* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *} Cada ítem producido con `yield` se codifica como JSON y se envía en el campo `data:` de un evento SSE. Si declaras el tipo de retorno como `AsyncIterable[Item]`, FastAPI lo usará para **validar**, **documentar** y **serializar** los datos usando Pydantic. {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *} /// tip | ConsejoCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:12:26 GMT 2026 - 5K bytes - Click Count (0) -
docs/ru/docs/how-to/configure-swagger-ui.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 4.1K bytes - Click Count (0) -
scripts/tests/test_translation_fixer/test_complex_doc/data/translated_doc.md
## Простые включения кода { #simple-code-includes } {* ../../docs_src/python_types/tutorial001_py310.py *} {* ../../docs_src/python_types/tutorial002_py310.py *} ## Включения кода с подсветкой { #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 - 11.2K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/query-params.md
同樣地,你可以將預設值設為 `None` 來宣告選用的查詢參數: {* ../../docs_src/query_params/tutorial002_py310.py hl[7] *} 在這種情況下,函式參數 `q` 為選用,且預設為 `None`。 /// check | 注意 另外請注意,FastAPI 能辨識出路徑參數 `item_id` 是路徑參數,而 `q` 不是,因此 `q` 會被當作查詢參數。 /// ## 查詢參數型別轉換 { #query-parameter-type-conversion } 你也可以宣告 `bool` 型別,值會被自動轉換: {* ../../docs_src/query_params/tutorial003_py310.py hl[7] *} 在這種情況下,如果你造訪: ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 4.1K bytes - Click Count (0) -
docs/de/docs/advanced/path-operation-advanced-configuration.md
Sie sollten dies tun, nachdem Sie alle Ihre *Pfadoperationen* hinzugefügt haben. {* ../../docs_src/path_operation_advanced_configuration/tutorial002_py310.py hl[2, 12:21, 24] *} /// tip | Tipp Wenn Sie `app.openapi()` manuell aufrufen, sollten Sie vorher die `operationId`s aktualisiert haben. /// /// warning | AchtungCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 8.2K bytes - Click Count (0) -
docs/tr/docs/how-to/configure-swagger-ui.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 3.2K bytes - Click Count (0) -
docs/es/docs/how-to/configure-swagger-ui.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 3.1K bytes - Click Count (0) -
docs/uk/docs/tutorial/server-sent-events.md
{* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[4,22] *} Кожен елемент, повернений через `yield`, кодується як JSON і надсилається в полі `data:` події SSE. Якщо ви оголосите тип повернення як `AsyncIterable[Item]`, FastAPI використає його, щоб **перевіряти**, **документувати** і **серіалізувати** дані за допомогою Pydantic. {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:25:54 GMT 2026 - 7.1K bytes - Click Count (0)