- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 1,325 for spath (0.03 sec)
-
docs/ja/docs/tutorial/response-model.md
# レスポンスモデル *path operations* のいずれにおいても、`response_model`パラメータを使用して、レスポンスのモデルを宣言することができます: * `@app.get()` * `@app.post()` * `@app.put()` * `@app.delete()` * など。 ```Python hl_lines="17" {!../../docs_src/response_model/tutorial001.py!} ``` /// note | "備考" `response_model`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数* のパラメータではありません。 ///
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
internal/disk/stat_bsd.go
package disk import ( "errors" "fmt" "syscall" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - s.Bavail info = Info{ Total: uint64(s.Bsize) * (s.Blocks - reservedBlocks),
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (1) -
helm/minio/templates/_helpers.tpl
{{- if .Values.tls.enabled }} - name: cert-secret-volume secret: secretName: {{ tpl .Values.tls.certSecret $ }} items: - key: {{ .Values.tls.publicCrt }} path: public.crt - key: {{ .Values.tls.privateKey }} path: private.key {{- end }} {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }}
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Apr 17 06:04:15 UTC 2023 - 6.5K bytes - Viewed (0) -
docs/en/docs/reference/response.md
# `Response` class You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies. You can also use it directly to create an instance of it and return it from your *path operations*. You can import it directly from `fastapi`: ```python from fastapi import Response ```
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 397 bytes - Viewed (0) -
docs/ru/docs/tutorial/first-steps.md
``` </div> ### Шаг 3: определите *операцию пути (path operation)* #### Путь (path) "Путь" это часть URL, после первого символа `/`, следующего за именем домена. Для URL: ``` https://example.com/items/foo ``` ...путь выглядит так: ``` /items/foo ``` /// info | "Дополнительная иформация" Термин "path" также часто называется "endpoint" или "route". ///
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 13.1K bytes - Viewed (0) -
internal/s3select/sql/jsonpath.go
errWildcardArrayLookup = errors.New("Array wildcard used on non-array value") errWildcardObjectUsageInvalid = errors.New("Invalid usage of object wildcard") ) // jsonpathEval evaluates a JSON path and returns the value at the path. // If the value should be considered flat (from wildcards) any array returned should be considered individual values. func jsonpathEval(p []*JSONPathElement, v interface{}) (r interface{}, flat bool, err error) {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/api/main_test.go
"io" "log" "os" "os/exec" "path/filepath" "regexp" "runtime" "sort" "strconv" "strings" "sync" "testing" ) const verbose = false func goCmd() string { var exeSuffix string if runtime.GOOS == "windows" { exeSuffix = ".exe" } path := filepath.Join(testenv.GOROOT(nil), "bin", "go"+exeSuffix) if _, err := os.Stat(path); err == nil { return path } return "go"
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
cmd/iam-etcd-store_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "testing" ) func TestExtractPrefixAndSuffix(t *testing.T) { specs := []struct { path, prefix, suffix string expected string }{ {"config/iam/groups/foo.json", "config/iam/groups/", ".json", "foo"}, {"config/iam/groups/./foo.json", "config/iam/groups/", ".json", "foo"},
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.5K bytes - Viewed (0) -
cni/pkg/install/testdata/istio-cni-prefixed.conf
{ "cniVersion": "0.3.1", "name": "istio-cni", "type": "prefix-istio-cni", "plugin_log_level": "debug", "kubernetes": { "kubeconfig": "/path/to/kubeconfig", "cni_bin_dir": "/path/cni/bin" }
Registered: Wed Oct 30 22:53:10 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 215 bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial004.py
), ( "/items?limit=1&q=bar&skip=1", 200, {"items": [{"item_name": "Bar"}], "q": "bar"}, ), ], ) def test_get(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status assert response.json() == expected_response def test_openapi_schema(): response = client.get("/openapi.json")
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 5.4K bytes - Viewed (0)