- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 871 for bool (0.02 sec)
-
docs/ru/docs/tutorial/body.md
Параметры функции распознаются следующим образом: * Если параметр также указан в **пути**, то он будет использоваться как параметр пути. * Если аннотация типа параметра содержит **примитивный тип** (`int`, `float`, `str`, `bool` и т.п.), он будет интерпретирован как параметр **запроса**. * Если аннотация типа параметра представляет собой **модель Pydantic**, он будет интерпретирован как параметр **тела запроса**. /// note | Заметка
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10.8K bytes - Viewed (0) -
docs/az/docs/index.md
from typing import Union from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None):
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 22.7K bytes - Viewed (0) -
docs/pt/docs/python-types.md
O Python possui suporte para "dicas de tipo" ou "type hints" (também chamado de "anotações de tipo" ou "type annotations") Esses **"type hints"** são uma sintaxe especial que permite declarar o <abbr title = "por exemplo: str, int, float, bool">tipo</abbr> de uma variável. Ao declarar tipos para suas variáveis, editores e ferramentas podem oferecer um melhor suporte.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Nov 09 10:32:53 UTC 2024 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsScheduledJobCQ.java
} public void bool(BoolCall<ScheduledJobCQ> boolLambda) { bool(boolLambda, null); } public void bool(BoolCall<ScheduledJobCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) { ScheduledJobCQ mustQuery = new ScheduledJobCQ(); ScheduledJobCQ shouldQuery = new ScheduledJobCQ(); ScheduledJobCQ mustNotQuery = new ScheduledJobCQ();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 98.1K bytes - Viewed (0) -
src/archive/zip/zip_test.go
// f is also responsible for closing w. func generatesZip64(t *testing.T, f func(w *Writer)) bool { ss := &suffixSaver{keep: 10 << 20} w := NewWriter(ss) f(w) return suffixIsZip64(t, ss) } type sizedReaderAt interface { io.ReaderAt Size() int64 } func suffixIsZip64(t *testing.T, zip sizedReaderAt) bool { d := make([]byte, 1024) if _, err := zip.ReadAt(d, zip.Size()-int64(len(d))); err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
cmd/erasure-multipart.go
toEncode := io.Reader(data) if data.Size() > bigFileThreshold { // Add input readahead. // We use 2 buffers, so we always have a full buffer of input. pool := globalBytePoolCap.Load() bufA := pool.Get() bufB := pool.Get() defer pool.Put(bufA) defer pool.Put(bufB) ra, err := readahead.NewReaderBuffer(data, [][]byte{bufA[:fi.Erasure.BlockSize], bufB[:fi.Erasure.BlockSize]}) if err == nil { toEncode = ra
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Sep 07 16:13:09 UTC 2025 - 47.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsFileAuthenticationCQ.java
bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda); } public void bool(BoolCall<FileAuthenticationCQ> boolLambda) { bool(boolLambda, null); } public void bool(BoolCall<FileAuthenticationCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 88.1K bytes - Viewed (0) -
cmd/metacache-entries_test.go
} } func Test_metaCacheEntry_isInDir(t *testing.T) { tests := []struct { testName string entry string dir string sep string want bool }{ { testName: "basic-file", entry: "src/file", dir: "src/", sep: slashSeparator, want: true, }, { testName: "basic-dir", entry: "src/dir/",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 31.6K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
} // subdir determines the package based on the current working directory, // and returns the path to the package source relative to $GOROOT (or $GOPATH). func subdir() (pkgpath string, underGoRoot bool, err error) { cwd, err := os.Getwd() if err != nil { return "", false, err } cwd, err = filepath.EvalSymlinks(cwd) if err != nil { log.Fatal(err) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
cmd/kms-handlers_test.go
) type kmsTestCase struct { name string method string path string query map[string]string // User credentials and policy for request policy string asRoot bool // Wanted in response. wantStatusCode int wantKeyNames []string wantResp []string } func TestKMSHandlersCreateKey(t *testing.T) { adminTestBed, tearDown := setupKMSTest(t, true)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 22.3K bytes - Viewed (0)