- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FirstItem (0.04 sec)
-
tests/test_union_body_discriminator.py
def test_discriminator_pydantic_v2() -> None: from pydantic import Tag app = FastAPI() class FirstItem(BaseModel): value: Literal["first"] price: int class OtherItem(BaseModel): value: Literal["other"] price: float Item = Annotated[ Union[Annotated[FirstItem, Tag("first")], Annotated[OtherItem, Tag("other")]], Field(discriminator="value"), ]
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
assertNotNull(items); assertTrue(items.size() > 0); SuggestItem firstItem = items.get(0); assertTrue(firstItem.getTags().length >= 2); } @Test public void test_parseDocumentWithLargeText() throws Exception { // Test with text larger than maxAnalyzedContentLengthRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 12.2K bytes - Viewed (0)