Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastapi/fastapi
/ ModelV1
Class
ModelV1
tests/test_jsonable_encoder.py:164–165 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
162
from
pydantic
import
v1
163
164
class
ModelV1(v1.BaseModel):
165
name: str
166
167
data = ModelV1(name=
"test"
)
168
with
pytest.raises(PydanticV1NotSupportedError):
Callers
1
test_json_encoder_error_with_pydanticv1
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_json_encoder_error_with_pydanticv1
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…