Home / Class/ ModelWithPath Class — fastapi Architecture

ModelWithPath Class — fastapi Architecture

Architecture documentation for the ModelWithPath class in test_jsonable_encoder.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  f9bbd305_c6b6_64be_306b_6be61fde47e3["ModelWithPath"]
  80ce950d_4c72_e7d9_21bb_a5c60524786c["test_jsonable_encoder.py"]
  f9bbd305_c6b6_64be_306b_6be61fde47e3 -->|defined in| 80ce950d_4c72_e7d9_21bb_a5c60524786c

Relationship Graph

Source Code

tests/test_jsonable_encoder.py lines 244–247

    class ModelWithPath(BaseModel):
        path: PurePath

        model_config = {"arbitrary_types_allowed": True}

Domain

Frequently Asked Questions

What is the ModelWithPath class?
ModelWithPath is a class in the fastapi codebase, defined in tests/test_jsonable_encoder.py.
Where is ModelWithPath defined?
ModelWithPath is defined in tests/test_jsonable_encoder.py at line 244.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free