ModelWithDefault Class — fastapi Architecture
Architecture documentation for the ModelWithDefault class in test_jsonable_encoder.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD a0107ab4_8e7b_0a03_920c_95f94124c100["ModelWithDefault"] 80ce950d_4c72_e7d9_21bb_a5c60524786c["test_jsonable_encoder.py"] a0107ab4_8e7b_0a03_920c_95f94124c100 -->|defined in| 80ce950d_4c72_e7d9_21bb_a5c60524786c
Relationship Graph
Source Code
tests/test_jsonable_encoder.py lines 69–72
class ModelWithDefault(BaseModel):
foo: str = ... # type: ignore
bar: str = "bar"
bla: str = "bla"
Domain
Defined In
Source
Frequently Asked Questions
What is the ModelWithDefault class?
ModelWithDefault is a class in the fastapi codebase, defined in tests/test_jsonable_encoder.py.
Where is ModelWithDefault defined?
ModelWithDefault is defined in tests/test_jsonable_encoder.py at line 69.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free