MCPcopy
hub / github.com/pydantic/pydantic / CustomObject

Class CustomObject

tests/mypy/modules/from_orm_v1_noconflict.py:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12@dataclass
13class CustomObject:
14 x: int
15 y: Optional[int]
16
17
18obj = CustomObject(x=1, y=2)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected