Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydantic/pydantic
/ Pet
Class
Pet
tests/test_deprecated.py:141–144 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
self.pets = pets
140
141
class
Pet(BaseModel):
142
model_config = ConfigDict(from_attributes=True)
143
name: str
144
species: str
145
146
class
Person(BaseModel):
147
model_config = ConfigDict(from_attributes=True)
Callers
nothing calls this directly
Calls
1
ConfigDict
Class · 0.90
Tested by
no test coverage detected