- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,029 for Operation (0.06 seconds)
-
docs/ja/docs/advanced/response-directly.md
# レスポンスを直接返す **FastAPI** の *path operation* では、通常は任意のデータを返すことができます: 例えば、 `dict`、`list`、Pydanticモデル、データベースモデルなどです。 デフォルトでは、**FastAPI** は [JSON互換エンコーダ](../tutorial/encoder.md){.internal-link target=_blank} で説明されている `jsonable_encoder` により、返す値を自動的にJSONに変換します。 このとき背後では、JSON互換なデータ (例えば`dict`) を、クライアントへ送信されるレスポンスとして利用される `JSONResponse` の中に含めます。 しかし、*path operation* から `JSONResponse` を直接返すこともできます。 これは例えば、カスタムヘッダーやcookieを返すときに便利です。 ## `Response` を返すCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 3.6K bytes - Click Count (0) -
docs_src/openapi_callbacks/tutorial001_py310.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/en/docs/advanced/response-headers.md
# Response Headers { #response-headers } ## Use a `Response` parameter { #use-a-response-parameter } You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies). And then you can set headers in that *temporal* response object. {* ../../docs_src/response_headers/tutorial002_py39.py hl[1, 7:8] *} And then you can return any object you need, as you normally would (a `dict`, a database model, etc).Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.3K bytes - Click Count (0) -
internal/disk/stat_linux_32bit.go
return info, nil } // GetDriveStats returns IO stats of the drive by its major:minor func GetDriveStats(major, minor uint32) (iostats IOStats, err error) { return IOStats{}, errors.New("operation unsupported")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 2.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/first-steps.md
Aqui, a variável `app` será uma "instância" da classe `FastAPI`. Este será o principal ponto de interação para criar toda a sua API. ### Passo 3: crie uma operação de rota { #step-3-create-a-path-operation } #### Path { #path } "Path" aqui se refere à última parte da URL, começando do primeiro `/`. Então, em uma URL como: ``` https://example.com/items/foo ``` ...o path seria:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/UpgradeContext.java
} /** * Prints a new line. */ public void println() { logger.info(""); } // Semantic logging methods with icons for upgrade operations /** * Logs a successful operation with a checkmark icon. */ public void success(String message) { logger.info(getCurrentIndent() + ConsoleIcon.SUCCESS.getIcon(terminal) + " " + message); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
throw new UnsupportedOperationException(); } @Override public ConcurrentMap<K, V> asMap() { throw new UnsupportedOperationException(); } /** * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link * Cache#stats}. This is solely intended for consumption by {@code Cache} implementors. * * @since 10.0 */ public interface StatsCounter { /**
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/bufio/example_test.go
// An artificial input source. const input = "Now is the winter of our discontent,\nMade glorious summer by this sun of York.\n" scanner := bufio.NewScanner(strings.NewReader(input)) // Set the split function for the scanning operation. scanner.Split(bufio.ScanWords) // Count the words. count := 0 for scanner.Scan() { count++ } if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "reading input:", err) }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md
FastAPIが実際にチェックしているのは、それが「呼び出し可能」(関数、クラス、その他なんでも)であり、パラメータが定義されているかどうかということです。 **FastAPI** の依存関係として「呼び出し可能なもの」を渡すと、その「呼び出し可能なもの」のパラメータを解析し、サブ依存関係も含めて、*path operation関数*のパラメータと同じように処理します。 それは、パラメータが全くない呼び出し可能なものにも適用されます。パラメータのない*path operation関数*と同じように。 そこで、上で紹介した依存関係の`common_parameters`を`CommonQueryParams`クラスに変更します: {* ../../docs_src/dependencies/tutorial002.py hl[11,12,13,14,15] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7K bytes - Click Count (0) -
internal/ioutil/ioutil.go
if pb != nil && len(*pb) == p.size { p.p.Put(pb) } } // WriteOnCloser implements io.WriteCloser and always // executes at least one write operation if it is closed. // // This can be useful within the context of HTTP. At least // one write operation must happen to send the HTTP headers // to the peer. type WriteOnCloser struct { io.Writer hasWritten bool }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 11.1K bytes - Click Count (0)