Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydantic/pydantic
/ GrandParentModel
Class
GrandParentModel
tests/test_private_attributes.py:282–283 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
280
default = {
'a'
: {}}
281
282
class
GrandParentModel(BaseModel):
283
_foo = PrivateAttr(default)
284
285
class
ParentAModel(GrandParentModel):
286
pass
Callers
nothing calls this directly
Calls
1
PrivateAttr
Function · 0.90
Tested by
no test coverage detected