- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 732 for mybool (0.06 sec)
-
docs/ja/docs/index.md
```Python hl_lines="2 7 8 9 10 23 24 25" from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str = None): return {"item_id": item_id, "q": q}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 21.3K bytes - Viewed (0) -
cmd/object_api_suite_test.go
func newTestReaderEOF(data []byte) io.Reader { return &testOneByteReadEOF{false, data} } // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error. type testOneByteReadEOF struct { eof bool data []byte } func (r *testOneByteReadEOF) Read(p []byte) (n int, err error) { if r.eof { return 0, io.EOF } n = copy(p, r.data) r.eof = true return n, io.EOF }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 34.5K bytes - Viewed (0) -
docs/es/docs/tutorial/body.md
* Si el parámetro también se declara en el **path**, se utilizará como un parámetro de path. * Si el parámetro es de un **tipo singular** (como `int`, `float`, `str`, `bool`, etc.), se interpretará como un parámetro de **query**. * Si el parámetro se declara como del tipo de un **modelo de Pydantic**, se interpretará como un **request body**. /// note | Nota
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.6K bytes - Viewed (0) -
scripts/notify_translations.py
github_repository: str github_token: SecretStr github_event_path: Path github_event_name: Union[str, None] = None httpx_timeout: int = 30 debug: Union[bool, None] = False number: int | None = None class PartialGitHubEventIssue(BaseModel): number: int | None = None class PartialGitHubEvent(BaseModel):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.7K bytes - Viewed (0) -
tests/serializer_test.go
sps := SerializerPostgresStruct(*s) return &sps } return s } type Roles []string type Job struct { Title string Number int Location string IsIntern bool } type EncryptedString string func (es *EncryptedString) Scan(ctx context.Context, field *schema.Field, dst reflect.Value, dbValue interface{}) (err error) { switch value := dbValue.(type) { case []byte:
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sat Nov 22 03:14:36 UTC 2025 - 9.3K bytes - Viewed (0) -
cmd/signature-v4-parser.go
c.scope.date.Format(yyyymmdd), c.scope.region, c.scope.service, c.scope.request, }, SlashSeparator) } func getReqAccessKeyV4(r *http.Request, region string, stype serviceType) (auth.Credentials, bool, APIErrorCode) { ch, s3Err := parseCredentialHeader("Credential="+r.Form.Get(xhttp.AmzCredential), region, stype) if s3Err != ErrNone { // Strip off the Algorithm prefix.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:35 UTC 2025 - 9.4K bytes - Viewed (0) -
internal/bucket/encryption/bucket-sse-config.go
config.XMLNS = xmlNS } return &config, nil } // ApplyOptions ask for specific features to be enabled, // when bucketSSEConfig is empty. type ApplyOptions struct { AutoEncrypt bool } // Apply applies the SSE bucket configuration on the given HTTP headers and // sets the specified SSE headers. // // Apply does not overwrite any existing SSE headers. Further, it will
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 25 00:44:15 UTC 2022 - 4.9K bytes - Viewed (0) -
internal/disk/stat_linux.go
"strings" "syscall" "github.com/prometheus/procfs/blockdevice" "golang.org/x/sys/unix" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, firstTime 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{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 4.8K bytes - Viewed (0) -
cmd/admin-router.go
traceAllFlag // pass this flag to skip checking if object layer is available noObjLayerFlag ) // Has checks if the given flag is enabled in `h`. func (h hFlag) Has(flag hFlag) bool { // Use bitwise-AND and check if the result is non-zero. return h&flag != 0 } // adminMiddleware performs some common admin handler functionality for all // handlers: //
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 26.7K bytes - Viewed (0) -
docs/uk/docs/tutorial/body.md
Параметри функції будуть розпізнаватися наступним чином: * Якщо параметр також оголошено в **шляху**, він використовуватиметься як параметр шляху. * Якщо параметр має **сингулярний тип** (наприклад, `int`, `float`, `str`, `bool` тощо), він буде інтерпретуватися як параметр **запиту**. * Якщо параметр оголошується як тип **Pydantic моделі**, він інтерпретується як **тіло** запиту. /// note
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 10K bytes - Viewed (0)