- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 873 for Python (0.09 sec)
-
docs/ja/docs/advanced/websockets.md
もちろん、これは最適な方法ではありませんし、本番環境で使うことはないでしょう。 本番環境では、上記の方法のいずれかの選択肢を採用することになるでしょう。 しかし、これはWebSocketのサーバーサイドに焦点を当て、実用的な例を示す最も簡単な方法です。 ```Python hl_lines="2 6-38 41-43" {!../../docs_src/websockets/tutorial001.py!} ``` ## `websocket` を作成する **FastAPI** アプリケーションで、`websocket` を作成します。 ```Python hl_lines="1 46-47" {!../../docs_src/websockets/tutorial001.py!} ``` /// note | "技術詳細"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.2K bytes - Viewed (0) -
docs/en/docs/reference/exceptions.md
When you raise an exception, as would happen with normal Python, the rest of the execution is aborted. This way you can raise these exceptions from anywhere in the code to abort a request and show the error to the client. You can use: * `HTTPException` * `WebSocketException` These exceptions can be imported directly from `fastapi`: ```python from fastapi import HTTPException, WebSocketException ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 597 bytes - Viewed (0) -
RELEASE.md
[`tf.dtypes`](https://www.tensorflow.org/versions/master/api_docs/python/tf/dtypes), [`tf.image`](https://www.tensorflow.org/versions/master/api_docs/python/tf/image), [`tf.io`](https://www.tensorflow.org/versions/master/api_docs/python/tf/io), [`tf.linalg`](https://www.tensorflow.org/versions/master/api_docs/python/tf/linalg),
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0) -
docs/en/docs/deployment/manually.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 25 02:44:06 UTC 2024 - 7.8K bytes - Viewed (0) -
docs/pt/docs/advanced/sub-applications.md
```Python hl_lines="3 6-8" {!../../docs_src/sub_applications/tutorial001.py!} ``` ### Sub-aplicação Em seguida, crie sua sub-aplicação e suas *operações de rota*. Essa sub-aplicação é apenas outra aplicação FastAPI padrão, mas esta é a que será "montada": ```Python hl_lines="11 14-16" {!../../docs_src/sub_applications/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.2K bytes - Viewed (0) -
docs/de/docs/tutorial/middleware.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/pt/docs/advanced/response-cookies.md
# Cookies de Resposta ## Usando um parâmetro `Response` Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota*. E então você pode definir cookies nesse objeto de resposta *temporário*. ```Python hl_lines="1 8-9" {!../../docs_src/response_cookies/tutorial002.py!} ``` Em seguida, você pode retornar qualquer objeto que precise, como normalmente faria (um `dict`, um modelo de banco de dados, etc).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Oct 14 09:15:24 UTC 2024 - 2.4K bytes - Viewed (0) -
docs/pt/docs/advanced/response-headers.md
Você pode declarar um parâmetro do tipo `Response` na sua *função de operação de rota* (assim como você pode fazer para cookies). Então você pode definir os cabeçalhos nesse objeto de resposta *temporário*. ```Python hl_lines="1 7-8" {!../../docs_src/response_headers/tutorial002.py!} ``` Em seguida você pode retornar qualquer objeto que precisar, da maneira que faria normalmente (um `dict`, um modelo de banco de dados, etc.).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 16 07:44:45 UTC 2024 - 2.5K bytes - Viewed (0) -
docs/de/docs/advanced/response-cookies.md
## Einen `Response`-Parameter verwenden Sie können einen Parameter vom Typ `Response` in Ihrer *Pfadoperation-Funktion* deklarieren. Und dann können Sie Cookies in diesem *vorübergehenden* Response-Objekt setzen. ```Python hl_lines="1 8-9" {!../../docs_src/response_cookies/tutorial002.py!} ``` Anschließend können Sie wie gewohnt jedes gewünschte Objekt zurückgeben (ein `dict`, ein Datenbankmodell, usw.).
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/build_cleaner_spec.textproto
# proto-file: devtools/build_cleaner/proto/actions.proto # proto-message: ActionSpecs # Python rules should not have more than one source file. action_spec { action: CHECK_FILE_COUNT file_count_params { rule_selector { rule_kind_regex: "^.*py(type)?(_strict)?_(binary|library|test).*$" generator_function_regex: "^(?!boq_header)$" } max_source_count: 1 }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Nov 29 18:16:42 UTC 2023 - 387 bytes - Viewed (0)