- Sort Score
- Result 10 results
- Languages All
Results 511 - 520 of 1,022 for mybool (0.09 sec)
-
istioctl/pkg/writer/envoy/configdump/configdump.go
type ConfigWriter struct { Stdout io.Writer configDump *configdump.Wrapper } // includeConfigType is a flag to indicate whether to include the config type in the output var includeConfigType bool func SetPrintConfigTypeInSummary(p bool) { includeConfigType = p } // Prime loads the config dump into the writer ready for printing func (c *ConfigWriter) Prime(b []byte) error { w := &configdump.Wrapper{}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 29 20:46:41 UTC 2024 - 7.4K bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_py310.py
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 392 bytes - Viewed (0) -
docs/ko/docs/tutorial/query-params.md
FastAPI는 `q`가 `= None`이므로 선택적이라는 것을 인지합니다. `Union[str, None]`에 있는 `Union`은 FastAPI(FastAPI는 `str` 부분만 사용합니다)가 사용하는게 아니지만, `Union[str, None]`은 편집기에게 코드에서 오류를 찾아낼 수 있게 도와줍니다. /// ## 쿼리 매개변수 형변환 `bool` 형으로 선언할 수도 있고, 아래처럼 변환됩니다: ```Python hl_lines="9" {!../../docs_src/query_params/tutorial003.py!} ``` 이 경우, 아래로 이동하면: ``` http://127.0.0.1:8000/items/foo?short=1 ``` 또는 ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/xl-storage-free-version_test.go
t.Fatalf("Expected two free versions but got %d", len(freeVersions)) } freeVersionsTests := []struct { vol string name string inclFreeVers bool afterFn func(fi FileInfo) (string, error) expectedFree bool expectedErr error }{ // ToFileInfo with 'inclFreeVers = true' should return the latest // non-free version if one is present { vol: newtierfi.Volume,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Mar 02 05:11:03 UTC 2024 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/GeoInfoTest.java
request.setParameter("geo.location.2.point", "35,151"); request.setParameter("geo.location.2.distance", "1km"); final GeoInfo geoInfo = new GeoInfo(request); String result =
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
internal/config/compress/compress_test.go
package compress import ( "reflect" "testing" ) func TestParseCompressIncludes(t *testing.T) { testCases := []struct { str string expectedPatterns []string success bool }{ // invalid input {",,,", []string{}, false}, {"", []string{}, false}, {",", []string{}, false}, {"/", []string{}, false}, {"text/*,/", []string{}, false}, // valid input
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.8K bytes - Viewed (0) -
docs_src/header_param_models/tutorial002_pv1_py310.py
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): class Config: extra = "forbid" host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 396 bytes - Viewed (0) -
internal/grid/connection.go
break } return err } } } return nil } */ // shouldConnect returns a deterministic bool whether the local should initiate the connection. // It should be 50% chance of any host initiating the connection. func (c *Connection) shouldConnect() bool { // The remote should have the opposite result. h0 := xxh3.HashString(c.Local + c.Remote) h1 := xxh3.HashString(c.Remote + c.Local)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 46.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsCrawlingInfoParamCQ.java
bool((must, should, mustNot, filter) -> notLambda.callback(mustNot), opLambda); } public void bool(BoolCall<CrawlingInfoParamCQ> boolLambda) { bool(boolLambda, null); } public void bool(BoolCall<CrawlingInfoParamCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 36K bytes - Viewed (0) -
internal/config/identity/tls/config.go
// credentials and mapping client certificates to S3 policies. type Config struct { Enabled bool `json:"enabled"` // InsecureSkipVerify, if set to true, disables the client // certificate verification. It should only be set for // debugging or testing purposes. InsecureSkipVerify bool `json:"skip_verify"` } const ( defaultExpiry time.Duration = 1 * time.Hour
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.6K bytes - Viewed (0)