- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 982 for ints (0.01 seconds)
-
docs_src/body_nested_models/tutorial005_py39.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 512 bytes - Click Count (0) -
docs_src/handling_errors/tutorial005_py39.py
return JSONResponse( status_code=422, content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}), ) class Item(BaseModel): title: str size: int @app.post("/items/") async def create_item(item: Item):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 626 bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
for (ModelProblem problem : problems) { severities.add(problem.getSeverity()); } } @Override public void add(ModelProblemCollectorRequest req) { int line = -1; int column = -1; String source = null; String modelId = null; if (req.getLocation() != null) { line = req.getLocation().getLineNumber();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 5.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
*/ int getLineNumber(); /** * Gets the one-based index of the column containing the problem. The column number should refer to some text file * that is given by {@link #getSource()}. * * @return The one-based index of the column containing the problem or non-positive value if unknown. */ int getColumnNumber(); /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
} Map<String, Element> inheritedValueTitleMapping = new HashMap<String, Element>(); List<Element> valueTitles = new ArrayList<Element>(); for (int i = 1; i < header.size(); i++) { Element element = header.get(i); Element override = findChild(element, "overrides"); if (override != null) { element.removeChild(override);Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.2K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt
data class GitHubUser(val login: String, val name: String?) data class GitHubPullRequestMilestone(val title: String) data class GitHubPullRequest( val number: Int, val user: GitHubUser, val milestone: GitHubPullRequestMilestone?, ) val contributorLineRegex = "\\[(.*)]\\(https://github.com/(.*)\\)".toRegex() const val PAGE_SIZE = 100
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Jun 24 07:54:08 GMT 2025 - 5.7K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
+ "'. Value must be positive."); } int procs = Runtime.getRuntime().availableProcessors(); int threads = (int) (coreMultiplier * procs); return threads == 0 ? 1 : threads; } else { int threads = Integer.parseInt(threadConfiguration); if (threads <= 0) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial004_py310.py
class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item = Body( examples=[ { "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 786 bytes - Click Count (0) -
docs_src/schema_extra_example/tutorial004_an_py310.py
class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Annotated[ Item, Body( examples=[ { "name": "Foo", "description": "A very nice Item", "price": 35.4,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jul 01 16:43:29 GMT 2023 - 917 bytes - Click Count (0) -
docs/ko/docs/tutorial/body-nested-models.md
일부 타입의 키와 다른 타입의 값을 사용하여 `dict`로 본문을 선언할 수 있습니다. (Pydantic을 사용한 경우처럼) 유효한 필드/어트리뷰트 이름이 무엇인지 알 필요가 없습니다. 아직 모르는 키를 받으려는 경우 유용합니다. --- 다른 유용한 경우는 다른 타입의 키를 가질 때입니다. 예. `int`. 여기서 그 경우를 볼 것입니다. 이 경우, `float` 값을 가진 `int` 키가 있는 모든 `dict`를 받아들입니다: {* ../../docs_src/body_nested_models/tutorial009.py hl[15] *} /// tip | 팁 JSON은 오직 `str`형 키만 지원한다는 것을 염두에 두세요. 하지만 Pydantic은 자동 데이터 변환이 있습니다.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7.3K bytes - Click Count (0)