- Sort Score
- Result 10 results
- Languages All
Results 2591 - 2600 of 3,763 for Int (0.03 sec)
-
fastapi/applications.py
status_code: Optional[int] = None, tags: Optional[List[Union[str, Enum]]] = None, dependencies: Optional[Sequence[Depends]] = None, summary: Optional[str] = None, description: Optional[str] = None, response_description: str = "Successful Response", responses: Optional[Dict[Union[int, str], Dict[str, Any]]] = None,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 17 04:52:31 UTC 2024 - 172.2K bytes - Viewed (0) -
tests/test_validate_response_dataclass.py
from fastapi.testclient import TestClient from pydantic.dataclasses import dataclass app = FastAPI() @dataclass class Item: name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid(): return {"name": "invalid", "price": "foo"} @app.get("/items/innerinvalid", response_model=Item) def get_innerinvalid():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.2K bytes - Viewed (0) -
src/arena/arena_test.go
// license that can be found in the LICENSE file. //go:build goexperiment.arenas package arena_test import ( "arena" "testing" ) type T1 struct { n int } type T2 [1 << 20]byte // 1MiB func TestSmoke(t *testing.T) { a := arena.NewArena() defer a.Free() tt := arena.New[T1](a) tt.n = 1 ts := arena.MakeSlice[T1](a, 99, 100) if len(ts) != 99 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 12 20:23:36 UTC 2022 - 742 bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
* * @param values a series of values * @throws IllegalArgumentException if the dataset is empty */ public static double meanOf(int... values) { checkArgument(values.length > 0); double mean = values[0]; for (int index = 1; index < values.length; index++) { double value = values[index]; if (isFinite(value) && isFinite(mean)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 23 16:45:30 UTC 2024 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/DecimalFormatUtil.java
final char decimalSep = symbols.getDecimalSeparator(); final char groupingSep = symbols.getGroupingSeparator(); final StringBuilder buf = new StringBuilder(20); for (int i = 0; i < s.length(); ++i) { char c = s.charAt(i); if (c == groupingSep) { continue; } else if (c == decimalSep) { c = '.'; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/ClingSupport.java
this.classWorld = requireNonNull(classWorld); this.classWorldManaged = classWorldManaged; } /** * The main entry point. */ public int run(String[] args) throws IOException { try (Invoker<R> invoker = createInvoker()) { return invoker.invoke(parseArguments(args)); } catch (ParserException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K 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()}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 09 15:52:41 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/KuromojiService.java
@Resource protected FessConfig fessConfig; public List<KuromojiItem> getKuromojiList(final String dictId, final KuromojiPager kuromojiPager) { return getKuromojiFile(dictId).map(file -> { final int pageSize = kuromojiPager.getPageSize(); final PagingList<KuromojiItem> kuromojiList = file.selectList((kuromojiPager.getCurrentPageNumber() - 1) * pageSize, pageSize); // update pager
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SmokeTests.kt
import common.requiresNotEc2Agent import common.toCapitalized import model.CIBuildModel import model.Stage class SmokeTests(model: CIBuildModel, stage: Stage, testJava: JvmCategory, id: String, task: String = "smokeTest", splitNumber: Int = 1) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = { id("${model.projectId}_SmokeTest_$id") name = "Smoke Tests with 3rd Party Plugins ($task) - ${testJava.version.name.toCapitalized()} Linux"
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 07:23:49 UTC 2024 - 1.2K bytes - Viewed (0)