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

Class User

tests/test_pydantic.py:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 def test_simple_model(self):
18 """Test encoding a simple Pydantic model."""
19 class User(BaseModel):
20 id: int
21 name: str
22 email: str
23
24 user = User(id=1, name='Alice', email='alice@example.com')
25 toon = encode_pydantic(user)

Callers 4

test_simple_modelMethod · 0.70
test_exclude_noneMethod · 0.70
test_by_aliasMethod · 0.70
test_roundtripMethod · 0.70

Calls

no outgoing calls

Tested by 4

test_simple_modelMethod · 0.56
test_exclude_noneMethod · 0.56
test_by_aliasMethod · 0.56
test_roundtripMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…