Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
193
def
test_sub_model():
194
class
Foo(BaseModel):
195
""
"hello"
""
196
197
b: float
198
199
class
Bar(BaseModel):
200
a: int
Callers
3
Bar
Class · 0.70
test_constraints_schema_validation_passes
Function · 0.70
test_constraints_schema_validation_raises
Function · 0.70
Calls
2
Field
Function · 0.90
PlainValidator
Class · 0.90
Tested by
2
test_constraints_schema_validation_passes
Function · 0.56
test_constraints_schema_validation_raises
Function · 0.56