Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastapi/fastapi
/ ModelWithAlias
Class
ModelWithAlias
tests/test_jsonable_encoder.py:65–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
64
65
class
ModelWithAlias(BaseModel):
66
foo: str = Field(alias=
"Foo"
)
67
68
69
class
ModelWithDefault(BaseModel):
Callers
2
test_encode_model_with_alias_raises
Function · 0.85
test_encode_model_with_alias
Function · 0.85
Calls
no outgoing calls
Tested by
2
test_encode_model_with_alias_raises
Function · 0.68
test_encode_model_with_alias
Function · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…