- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 580 for limit (0.02 sec)
-
docs_src/query_param_models/tutorial002_an_py310.py
from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 483 bytes - Viewed (0) -
integration-tests/gradle/gradlew
case $MAX_FD in #( max*) # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. # shellcheck disable=SC2039,SC3045 MAX_FD=$( ulimit -H -n ) || warn "Could not query maximum file descriptor limit" esac case $MAX_FD in #( '' | soft) :;; #( *) # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:07:19 UTC 2023 - 8.5K bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_pv1_an.py
from pydantic import BaseModel, Field from typing_extensions import Annotated, Literal app = FastAPI() class FilterParams(BaseModel): class Config: extra = "forbid" limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: List[str] = [] @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 522 bytes - Viewed (0) -
cmd/data-usage-cache.go
} } // forceCompact will force compact the cache of the top entry. // If the number of children is more than limit*100, it will compact self. // When above the limit a cleanup will also be performed to remove any possible abandoned entries. func (d *dataUsageCache) forceCompact(limit int) { if d == nil || len(d.Cache) <= limit { return } top := hashPath(d.Info.Name).Key() topE := d.find(top) if topE == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 34.7K bytes - Viewed (0) -
cmd/metacache-bucket_test.go
bm.findCache(listPathOptions{ ID: mustGetUUID(), Bucket: "", BaseDir: pathNames[i%paths], Prefix: "", FilterPrefix: "", Marker: "", Limit: 0, AskDisks: "strict", Recursive: false, Separator: slashSeparator, Create: true, }) } b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 25 23:29:45 UTC 2022 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_sql_databases/test_tutorial001.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 14.8K bytes - Viewed (0) -
docs_src/query_param_models/tutorial001_py310.py
from typing import Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 422 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_an_py39.py
from fastapi import FastAPI, Query from pydantic import BaseModel, Field from typing_extensions import Annotated, Literal app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 493 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_pv1_py310.py
from typing import Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): class Config: extra = "forbid" limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 466 bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/WarmupEc2Agent.kt
name = "Warmup EC2 Agent" id("Util_WarmupEc2Agent") vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().vcsRootId()) features { freeDiskSpace { // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process requiredSpace = "100mb" } } params { param("defaultBranchName", "master")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 05 00:08:14 UTC 2023 - 1.2K bytes - Viewed (0)