Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anthropics/anthropic-sdk-python
/ Address
Class
Address
tests/test_utils/test_json.py:85–87 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
84
def
test_pydantic_model_with_nested_models_and_defaults(self) -> None:
85
class
Address(pydantic.BaseModel):
86
street: str
87
city: str =
"Unknown"
88
89
class
User(pydantic.BaseModel):
90
name: str
Callers
1
test_pydantic_model_with_nested_models_and_defaults
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_pydantic_model_with_nested_models_and_defaults
Method · 0.68