- Sort Score
- Num 10 results
- Language All
Results 411 - 420 of 1,039 for Python (0.04 seconds)
-
docs/en/docs/tutorial/sql-databases.md
* PostgreSQL * MySQL * SQLite * Oracle * Microsoft SQL Server, etc. In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is. Later, for your production application, you might want to use a database server like **PostgreSQL**. /// tip
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 15.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/stream-json-lines.md
{"name": "Plumbus", "description": "A multi-purpose household device."} {"name": "Portal Gun", "description": "A portal opening device."} {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."} ``` これは JSON 配列(Python の list に相当)にとてもよく似ていますが、`[]` で囲まず、アイテム間の `,` もありません。その代わりに、**1 行に 1 つの JSON オブジェクト**で、改行文字で区切られます。 /// info | 情報 重要な点は、クライアントが前の行を消費している間に、アプリ側は次の行を順次生成して送れることです。 /// /// note | 技術詳細Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:55:22 GMT 2026 - 5.1K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
if (enable) { optimizer_options->set_global_jit_level(tensorflow::OptimizerOptions::ON_1); // These XLA flags are needed to trigger XLA properly from C (more generally // non-Python) clients. If this API is called again with `enable` set to // false, it is safe to keep these flag values as is. tensorflow::MarkForCompilationPassFlags* flags = tensorflow::GetMarkForCompilationPassFlags();
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
docs/ja/docs/how-to/custom-request-and-route.md
ここでは、元のリクエストから `GzipRequest` を作成するために利用します。 {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *} /// note | 技術詳細 `Request` には `request.scope` 属性があり、これはリクエストに関するメタデータを含む Python の `dict` です。 `Request` には `request.receive` もあり、これはリクエストの本体を「受信」するための関数です。 `scope` の `dict` と `receive` 関数はいずれも ASGI 仕様の一部です。 そしてこの 2 つ(`scope` と `receive`)が、新しい `Request` インスタンスを作成するために必要なものです。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/ja/docs/_llm-test.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 13.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-updates.md
{* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *} `PUT`は、既存のデータを置き換えるべきデータを受け取るために使用されます。 ### 置換についての注意 { #warning-about-replacing } つまり、`PUT`を使用して以下のボディで項目`bar`を更新したい場合は: ```Python { "name": "Barz", "price": 3, "description": None, } ``` すでに格納されている属性`"tax": 20.2`を含まないため、入力モデルは`"tax": 10.5`のデフォルト値を取ります。 そして、データはその「新しい」`10.5`の`tax`と共に保存されます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
docs/ko/docs/tutorial/path-params.md
### 문서 확인 { #check-the-docs } *경로 매개변수*에 사용할 수 있는 값은 미리 정의되어 있으므로 대화형 문서에서 잘 표시됩니다: <img src="/img/tutorial/path-params/image03.png"> ### 파이썬 *열거형*으로 작업하기 { #working-with-python-enumerations } *경로 매개변수*의 값은 *열거형 멤버*가 됩니다. #### *열거형 멤버* 비교 { #compare-enumeration-members } 생성한 열거형 `ModelName`의 *열거형 멤버*와 비교할 수 있습니다: {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/ja/docs/advanced/websockets.md
**FastAPI**で[WebSockets](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)が使用できます。 ## `websockets`のインストール { #install-websockets } [仮想環境](../virtual-environments.md)を作成し、それを有効化してから、「WebSocket」プロトコルを簡単に使えるようにするPythonライブラリの`websockets`をインストールしてください。 <div class="termy"> ```console $ pip install websockets ---> 100% ``` </div> ## WebSockets クライアント { #websockets-client } ### 本番環境 { #in-production }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.8K bytes - Click Count (0) -
fastapi/encoders.py
bool, Doc( """ Pydantic's `by_alias` parameter, passed to Pydantic models to define if the output should use the alias names (when provided) or the Python attribute names. In an API, if you set an alias, it's probably because you want to use it in the result, so you probably want to leave this set to `True`. """ ),Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 10.9K bytes - Click Count (0) -
docs/zh/docs/advanced/stream-data.md
/// ### `yield from` { #yield-from } 当你在迭代某个对象(例如类文件对象),并为每个条目执行 `yield` 时,你也可以使用 `yield from` 直接产出每个条目,从而省去 `for` 循环。 这并不是 FastAPI 特有的功能,只是 Python 的语法,但这是一个值得知道的小技巧。😎Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 5.2K bytes - Click Count (0)