- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 452 for Extra (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
} if (elements.length > 1) { /* * When a test requests a multiset with duplicates, our plan of * "add an extra item 0 to A and an extra item 1 to B" really means * "add an extra item 0 to A and B," which isn't what we want. */ if (!Objects.equals(elements[0], elements[1])) { multiset2.add(elements[1], 2); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 9.7K bytes - Viewed (0) -
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 Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 483 bytes - Viewed (0) -
docs/en/overrides/partials/copyright.html
<div class="md-copyright__highlight"> The FastAPI trademark is owned by <a href="https://tiangolo.com" target="_blank">@tiangolo</a> and is registered in the US and across other regions </div> {% if not config.extra.generator == false %} Made with <a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener"> Material for MkDocs </a> {% endif %}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Feb 04 20:56:59 UTC 2024 - 450 bytes - Viewed (0) -
docs/uk/docs/tutorial/query-param-models.md
У деяких особливих випадках (ймовірно, не дуже поширених) Ви можете захотіти **обмежити** query параметри, які дозволено отримувати. Ви можете використати конфігурацію моделі Pydantic, щоб заборонити (`forbid`) будь-які зайві (`extra`) поля: {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *} Якщо клієнт спробує надіслати **зайві** дані у **query параметрах**, він отримає **помилку**.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Jun 05 12:12:04 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
public void testEncodeRoundTrip() throws NdrException { final long original = 0x1122334455667788L; NdrHyper hyper = new NdrHyper(original); // Create buffer with extra space for alignment NdrBuffer buf = new NdrBuffer(new byte[16], 0); hyper.encode(buf); // Reset buffer position for decoding buf.reset(); NdrHyper decoded = new NdrHyper(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/PluginValidationManager.java
* <p> * This method will record extra information as well, like plugin occurrence or declaration location. */ void reportPluginValidationIssue( IssueLocality locality, MavenSession mavenSession, MojoDescriptor mojoDescriptor, String issue); /** * Reports plugin Mojo issues applicable to the Mojo itself. * <p>Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/ru/docs/tutorial/cookie-param-models.md
/// ## Запрет дополнительных cookies { #forbid-extra-cookies } В некоторых случаях (не особо часто встречающихся) вам может понадобиться **ограничить** cookies, которые вы хотите получать.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Dec 11 21:25:03 UTC 2025 - 5K bytes - Viewed (0) -
docs/ko/docs/tutorial/header-param-models.md
<div class="screenshot"> <img src="/img/tutorial/header-param-models/image01.png"> </div> ## 추가 헤더 금지하기 일부 특별한 사용 사례(흔하지는 않겠지만)에서는 수신하려는 헤더를 **제한**할 수 있습니다. Pydantic의 모델 구성을 사용하여 추가(`extra`) 필드를 금지(`forbid`)할 수 있습니다: {* ../../docs_src/header_param_models/tutorial002_an_py310.py hl[10] *} 클라이언트가 **추가 헤더**를 보내려고 시도하면, **오류** 응답을 받게 됩니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 09 12:45:39 UTC 2024 - 2K bytes - Viewed (0) -
docs/ko/docs/tutorial/query-param-models.md
<div class="screenshot"> <img src="/img/tutorial/query-param-models/image01.png"> </div> ## 추가 쿼리 매개변수 금지 몇몇의 특이한 경우에 (흔치 않지만), 허용할 쿼리 매개변수를 **제한**해야할 수 있습니다. Pydantic 모델 설정에서 `extra` 필드를 `forbid` 로 설정할 수 있습니다. {* ../../docs_src/query_param_models/tutorial002_an_py310.py hl[10] *} 만약 클라이언트가 쿼리 매개변수로 **추가적인** 데이터를 보내려고 하면, 클라이언트는 **에러** 응답을 받게 됩니다.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 20 19:24:08 UTC 2024 - 2.3K bytes - Viewed (0) -
docs_src/cookie_param_models/tutorial002_py310.py
from fastapi import Cookie, FastAPI from pydantic import BaseModel app = FastAPI() class Cookies(BaseModel): model_config = {"extra": "forbid"} session_id: str fatebook_tracker: str | None = None googall_tracker: str | None = None @app.get("/items/") async def read_items(cookies: Cookies = Cookie()):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 343 bytes - Viewed (0)