- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for FirstItem (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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"), ]
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.1K bytes - Click Count (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 maxAnalyzedContentLengthCreated: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 12.2K bytes - Click Count (0)