| 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) |
no outgoing calls
searching dependent graphs…