MCPcopy Create free account
hub / github.com/ScrapeGraphAI/toonify / User

Class User

examples/pydantic_usage.py:21–28  ·  view source on GitHub ↗

User model with optional fields.

Source from the content-addressed store, hash-verified

19
20
21class User(BaseModel):
22 """User model with optional fields."""
23 id: int
24 name: str
25 email: str
26 age: int | None = None
27 active: bool = True
28 address: Address | None = None
29
30
31class Product(BaseModel):

Callers 3

example_simple_modelFunction · 0.70
example_nested_modelsFunction · 0.70
example_exclude_optionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…