MCPcopy 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

Calls

no outgoing calls