- Sort Score
- Num 10 results
- Language All
Results 751 - 760 of 1,477 for function (0.05 seconds)
-
docs/ko/docs/tutorial/first-steps.md
**FastAPI**는 특정 의미를 강제하지 않습니다. 여기서 정보는 지침서일뿐 강제사항이 아닙니다. 예를 들어 GraphQL을 사용하는 경우, 일반적으로 `POST` 작동만 사용하여 모든 행동을 수행합니다. /// ### 4 단계: **경로 처리 함수** 정의 { #step-4-define-the-path-operation-function } 다음은 우리의 "**경로 처리 함수**"입니다: * **경로**: 는 `/`입니다. * **작동**: 은 `get`입니다. * **함수**: 는 "데코레이터" 아래에 있는 함수입니다 (`@app.get("/")` 아래). {* ../../docs_src/first_steps/tutorial001_py310.py hl[7] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 15K bytes - Click Count (0) -
cmd/handler-utils.go
return isDirectiveCopy(v) || isDirectiveReplace(v) } // Check if the directive COPY is requested. func isDirectiveCopy(value string) bool { // By default if directive is not set we // treat it as 'COPY' this function returns true. return value == copyDirective || value == "" } // Check if the directive REPLACE is requested. func isDirectiveReplace(value string) bool { return value == replaceDirective }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.4K bytes - Click Count (1) -
internal/rest/client.go
// Client - http based RPC client. type Client struct { connected int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG _ int32 // For 64 bits alignment lastConn int64 // HealthCheckFn is the function set to test for health. // If not set the client will not keep track of health. // Calling this returns true or false if the target // is online or offline. HealthCheckFn func() boolCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
cmd/bucket-lifecycle.go
res := make(DailyAllTierStats, len(t.lastDayStats)) for tier, st := range t.lastDayStats { res[tier] = st.clone() } return res } // UpdateWorkers at the end of this function leaves n goroutines waiting for // transition tasks func (t *transitionState) UpdateWorkers(n int) { t.mu.Lock() defer t.mu.Unlock() if t.objAPI == nil { // Init hasn't been called yet. return }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
internal/config/identity/openid/openid.go
pCfg, ok := r.ProviderCfgs[cfgName] if ok { if pCfg.UserIDClaim != "" { return pCfg.UserIDClaim } return "sub" } return "" // an incorrect config should be handled outside this function
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.3K bytes - Click Count (0) -
docs/ja/docs/tutorial/query-params-str-validations.md
{* ../../docs_src/query_params_str_validations/tutorial011_an_py310.py hl[9] *} そして、次のような URL なら: ``` http://localhost:8000/items/?q=foo&q=bar ``` *path operation function* 内の *function parameter* `q` で、複数の `q` *query parameters'* 値(`foo` と `bar`)を Python の `list` として受け取ります。 そのため、このURLのレスポンスは以下のようになります: ```JSON { "q": [ "foo", "bar" ] } ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 20.3K bytes - Click Count (0) -
docs/uk/docs/tutorial/first-steps.md
Наприклад, під час використання GraphQL ви зазвичай виконуєте всі дії, використовуючи лише `POST` операції. /// ### Крок 4: визначте **функцію операції шляху** { #step-4-define-the-path-operation-function } Ось наша «**функція операції шляху**»: * **шлях**: це `/`. * **операція**: це `get`. * **функція**: це функція нижче «декоратора» (нижче `@app.get("/")`).Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 18.7K bytes - Click Count (0) -
docs/zh/docs/advanced/generate-clients.md
你可以**修改**这些操作 ID 的**生成**方式,使之更简单,从而在客户端中得到**更简洁的方法名**。 在这种情况下,你需要用其他方式确保每个操作 ID 依然是**唯一**的。 例如,你可以确保每个*路径操作*都有一个标签,然后基于**标签**和*路径操作***名称**(函数名)来生成操作 ID。 ### 自定义唯一 ID 生成函数 { #custom-generate-unique-id-function } FastAPI 为每个*路径操作*使用一个**唯一 ID**,它既用于**操作 ID**,也用于请求或响应里任何需要的自定义模型名称。 你可以自定义这个函数。它接收一个 `APIRoute` 并返回一个字符串。 例如,这里使用第一个标签(你很可能只有一个标签)和*路径操作*名称(函数名)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.9K bytes - Click Count (0) -
src/bytes/bytes.go
func HasSuffix(s, suffix []byte) bool { return len(s) >= len(suffix) && Equal(s[len(s)-len(suffix):], suffix) } // Map returns a copy of the byte slice s with all its characters modified // according to the mapping function. If mapping returns a negative value, the character is // dropped from the byte slice with no replacement. The characters in s and the // output are interpreted as UTF-8-encoded code points.
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
docs/ja/docs/advanced/generate-clients.md
この場合でも各 operation ID が**一意**であることは別の方法で保証する必要があります。 例えば、各 *path operation* にタグを付け、**タグ**と *path operation* の**名前**(関数名)から operation ID を生成できます。 ### 一意 ID 生成関数のカスタマイズ { #custom-generate-unique-id-function } FastAPI は各 *path operation* に**一意 ID**を用いており、これは **operation ID** のほか、必要に応じてリクエストやレスポンスのカスタムモデル名にも使われます。 この関数はカスタマイズ可能です。`APIRoute` を受け取り、文字列を返します。 例えばここでは、最初のタグ(通常は 1 つ)と *path operation* 名(関数名)を使います。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 11.1K bytes - Click Count (0)