MCPcopy
hub / github.com/pydantic/pydantic / Foo

Class Foo

tests/test_json_schema.py:194–197  ·  view source on GitHub ↗

hello

Source from the content-addressed store, hash-verified

192
193def test_sub_model():
194 class Foo(BaseModel):
195 """hello"""
196
197 b: float
198
199 class Bar(BaseModel):
200 a: int

Calls 2

FieldFunction · 0.90
PlainValidatorClass · 0.90