- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 519 for mybool (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs_src/header_param_models/tutorial001_py310.py
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): 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()):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 17 18:54:10 GMT 2024 - 352 bytes - Click Count (0) -
internal/event/target/mysql_test.go
package target import ( "database/sql" "slices" "testing" ) // TestPostgreSQLRegistration checks if sql driver // is registered and fails otherwise. func TestMySQLRegistration(t *testing.T) { var found bool if slices.Contains(sql.Drivers(), "mysql") { found = true } if !found { t.Fatal("mysql driver not registered") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.1K bytes - Click Count (0) -
docs_src/response_model/tutorial003_04_py39.py
from typing import Union from fastapi import FastAPI, Response from fastapi.responses import RedirectResponse app = FastAPI() @app.get("/portal") async def get_portal(teleport: bool = False) -> Union[Response, dict]: if teleport: return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 384 bytes - Click Count (0) -
logger/logger.go
type Writer interface { Printf(string, ...interface{}) } // Config logger config type Config struct { SlowThreshold time.Duration Colorful bool IgnoreRecordNotFoundError bool ParameterizedQueries bool LogLevel LogLevel } // Interface logger interface type Interface interface { LogMode(LogLevel) Interface Info(context.Context, string, ...interface{})Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:19:28 GMT 2025 - 6.3K bytes - Click Count (0) -
docs_src/header_param_models/tutorial003_py39.py
from typing import Union from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header(convert_underscores=False)):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Mar 23 20:48:54 GMT 2025 - 415 bytes - Click Count (0) -
docs_src/header_param_models/tutorial003_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items( headers: Annotated[CommonHeaders, Header(convert_underscores=False)], ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Mar 23 20:48:54 GMT 2025 - 443 bytes - Click Count (0) -
docs_src/dependencies/tutorial011_an_py39.py
return self.fixed_content in q return False checker = FixedContentQueryChecker("bar") @app.get("/query-checker/") async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 544 bytes - Click Count (0) -
docs_src/query_params/tutorial003_py39.py
from typing import Union from fastapi import FastAPI app = FastAPI() @app.get("/items/{item_id}") async def read_item(item_id: str, q: Union[str, None] = None, short: bool = False): item = {"item_id": item_id} if q: item.update({"q": q}) if not short: item.update( {"description": "This is an amazing item that has a long description"} )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 406 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/user/cbean/cq/bs/BsGroupCQ.java
} public void bool(BoolCall<GroupCQ> boolLambda) { bool(boolLambda, null); } public void bool(BoolCall<GroupCQ> boolLambda, ConditionOptionCall<BoolQueryBuilder> opLambda) { GroupCQ mustQuery = new GroupCQ(); GroupCQ shouldQuery = new GroupCQ(); GroupCQ mustNotQuery = new GroupCQ(); GroupCQ filterQuery = new GroupCQ();Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 20.1K bytes - Click Count (0) -
internal/mountinfo/mountinfo_others.go
// this is a dummy function and returns nil for now. func CheckCrossDevice(paths []string) error { return nil } // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(file string) bool { return false
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 1.1K bytes - Click Count (0)