- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,020 for BOOL (0.03 sec)
-
docs/uk/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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 24.2K bytes - Viewed (0) -
cmd/admin-handlers-config-kv.go
func (bce badConfigErr) Unwrap() error { return bce.Err } type setConfigResult struct { Cfg config.Config SubSys string Dynamic bool LoggerWebhookCfgUpdated bool } // SetConfigKVHandler - PUT /minio/admin/v3/set-config-kv func (a adminAPIHandlers) SetConfigKVHandler(w http.ResponseWriter, r *http.Request) { ctx := r.Context()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 15.7K bytes - Viewed (0) -
src/builtin/builtin.go
for the language's special identifiers. */ package builtin import "cmp" // bool is the set of boolean values, true and false. type bool bool // true and false are the two untyped boolean values. const ( true = 0 == 0 // Untyped bool. false = 0 != 0 // Untyped bool. ) // uint8 is the set of all unsigned 8-bit integers. // Range: 0 through 255. type uint8 uint8
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 12.7K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/ecds.go
err := config.GetEcdsFilter().UnmarshalTo(c) if err != nil { return nil, fmt.Errorf("failed to retrieve TypedExtensionConfig: %v", err) } ecds = append(ecds, c) } sort.Slice(ecds, func(i, j int) bool { if ecds[i].GetTypedConfig().GetTypeUrl() == ecds[j].GetTypedConfig().GetTypeUrl() { return ecds[i].GetName() < ecds[j].GetName() }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Jan 14 02:41:27 UTC 2023 - 2.6K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
# โ ๐ฝ ๐ ๐ ๐, ๐ โ๏ธ โ๏ธ โ ๐ ๐, ๐: * `int` * `float` * `str` * `bool` โ๏ธ ๐ ๐ช โ๏ธ ๐ ๐ ๐ ๐. & ๐ ๐ โ๏ธ ๐ โ ๐ ๐ ๐: * ๐ ๐จโ๐จ ๐โ๐ฆบ. * ๐ฝ ๐ ๏ธ โช๏ธโก๏ธ ๐จ ๐จ. * ๐ฝ ๐ ๏ธ ๐จ ๐ฝ. * ๐ฝ ๐ฌ. * ๐ง โ & ๐งพ. ## ๐ ๐ฝ ๐ ๐ฅ ๐ ๐ ๐ ๐ ๐ช โ๏ธ: * `UUID`: * ๐ฉ "โญ ๐ ๐", โ ๐ ๐ ๐ฝ & โ๏ธ. * ๐จ & ๐จ ๐ ๐จ `str`. * `datetime.datetime`: * ๐ `datetime.datetime`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.6K bytes - Viewed (0) -
scripts/deploy_docs_status.py
from pydantic_settings import BaseSettings class Settings(BaseSettings): github_repository: str github_token: SecretStr deploy_url: str | None = None commit_sha: str run_id: int is_done: bool = False def main(): logging.basicConfig(level=logging.INFO) settings = Settings() logging.info(f"Using config: {settings.model_dump_json()}") g = Github(settings.github_token.get_secret_value())
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 09 15:52:41 UTC 2024 - 3.1K bytes - Viewed (0) -
lib/time/mkzip.go
flag.Usage = usage flag.Parse() args := flag.Args() if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") { usage() } var zb bytes.Buffer zw := zip.NewWriter(&zb) seen := make(map[string]bool) err := filepath.WalkDir(".", func(path string, d fs.DirEntry, err error) error { if d.IsDir() { return nil } data, err := os.ReadFile(path) if err != nil { log.Fatal(err) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
istioctl/cmd/root_test.go
// limitations under the License. package cmd import ( "bytes" "strings" "testing" "github.com/spf13/cobra" ) func checkHelpForFlag(t *testing.T, gotHelpText, flag string, wantExists bool) { t.Helper() if strings.Contains(gotHelpText, flag) != wantExists { if wantExists { t.Errorf("%q flag was expected but not found in help text", flag) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 15 17:59:55 UTC 2021 - 2.4K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
) type Config struct { TraceLogging bool `json:"IPTABLES_TRACE_LOGGING"` EnableIPv6 bool `json:"ENABLE_INBOUND_IPV6"` RedirectDNS bool `json:"REDIRECT_DNS"` // If true, TPROXY will be used for redirection. Else, REDIRECT will be used. // Currently, this is treated as a feature flag, but may be promoted to a permanent feature if there is a need. TPROXYRedirection bool `json:"TPROXY_REDIRECTION"` }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 23.3K bytes - Viewed (0) -
schema/index.go
idx.Comment = index.Comment } if idx.Option == "" { idx.Option = index.Option } idx.Fields = append(idx.Fields, index.Fields...) sort.Slice(idx.Fields, func(i, j int) bool { return idx.Fields[i].priority < idx.Fields[j].priority }) indexes[index.Name] = idx } } } for _, index := range indexes { if index.Class == "UNIQUE" && len(index.Fields) == 1 {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Sun Feb 04 07:49:19 UTC 2024 - 3.7K bytes - Viewed (0)