- Sort Score
- Result 10 results
- Languages All
Results 1751 - 1760 of 1,989 for py$ (0.01 sec)
-
docs/de/docs/advanced/dataclasses.md
```Python hl_lines="1 7-12 19-20" {!../../docs_src/dataclasses/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/de/docs/tutorial/response-status-code.md
{* ../../docs_src/response_status_code/tutorial001.py hl[6] *} `201` ist der Statuscode für „Created“ („Erzeugt“). Aber Sie müssen sich nicht daran erinnern, welcher dieser Codes was bedeutet. Sie können die Hilfsvariablen von `fastapi.status` verwenden. {* ../../docs_src/response_status_code/tutorial002.py hl[1,6] *}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:59:43 UTC 2024 - 4.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/response-status-code.md
```Python hl_lines="6" {!../../docs_src/response_status_code/tutorial001.py!} ``` `201` – это код статуса "Создано". Но вам не обязательно запоминать, что означает каждый из этих кодов. Для удобства вы можете использовать переменные из `fastapi.status`. ```Python hl_lines="1 6" {!../../docs_src/response_status_code/tutorial002.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7K bytes - Viewed (0) -
docs/en/docs/advanced/dataclasses.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 28 10:35:06 UTC 2024 - 4K bytes - Viewed (0) -
docs/zh/docs/fastapi-cli.md
<font color="#3465A4">INFO </font> Using path <font color="#3465A4">main.py</font> <font color="#3465A4">INFO </font> Resolved absolute path <font color="#75507B">/home/user/code/awesomeapp/</font><font color="#AD7FA8">main.py</font> <font color="#3465A4">INFO </font> Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 6.1K bytes - Viewed (0) -
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: ```Python hl_lines="27-31" {!../../docs_src/app_testing/tutorial002.py!} ``` /// note | "Nota" Para mais detalhes, confira a documentação do Starlette para <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testar WebSockets</a>.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 488 bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-data-types.md
```Python hl_lines="1 3 12-16" {!../../docs_src/extra_data_types/tutorial001.py!} ``` Note que os parâmetros dentro da função tem seu tipo de dados natural, e você pode, por exemplo, realizar manipulações normais de data, como: ```Python hl_lines="18-19" {!../../docs_src/extra_data_types/tutorial001.py!}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.9K bytes - Viewed (0) -
docs/en/docs/advanced/behind-a-proxy.md
Here we are including it in the message just for demonstration purposes. {* ../../docs_src/behind_a_proxy/tutorial001.py hl[8] *} Then, if you start Uvicorn with: <div class="termy"> ```console $ fastapi run main.py --root-path /api/v1 <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) ``` </div>
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 16:49:49 UTC 2024 - 11.6K bytes - Viewed (0) -
docs/de/docs/advanced/generate-clients.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 11.9K bytes - Viewed (0) -
docs/zh/docs/advanced/openapi-callbacks.md
```Python hl_lines="5 26" {!../../docs_src/openapi_callbacks/tutorial001.py!} ``` ### 创建回调*路径操作* 创建回调*路径操作*也使用之前创建的 `APIRouter`。 它看起来和常规 FastAPI *路径操作*差不多: * 声明要接收的请求体,例如,`body: InvoiceEvent` * 还要声明要返回的响应,例如,`response_model=InvoiceEventReceived` ```Python hl_lines="17-19 22-23 29-33" {!../../docs_src/openapi_callbacks/tutorial001.py!} ``` 回调*路径操作*与常规*路径操作*有两点主要区别:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.6K bytes - Viewed (0)