Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastapi/fastapi
/ ModelWithDefault
Class
ModelWithDefault
tests/test_jsonable_encoder.py:69–72 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
68
69
class
ModelWithDefault(BaseModel):
70
foo: str = ...
# type: ignore
71
bar: str =
"bar"
72
bla: str =
"bla"
73
74
75
def
test_encode_dict():
Callers
1
test_encode_model_with_default
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_encode_model_with_default
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…