Home / Class/ DictablePet Class — fastapi Architecture

DictablePet Class — fastapi Architecture

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

Entity Profile

Dependency Diagram

graph TD
  bced7b30_3f2d_f639_6452_94fee704f167["DictablePet"]
  45f83c1d_5dd9_c1ee_7ab3_07b346e41bc9["Pet"]
  bced7b30_3f2d_f639_6452_94fee704f167 -->|extends| 45f83c1d_5dd9_c1ee_7ab3_07b346e41bc9
  80ce950d_4c72_e7d9_21bb_a5c60524786c["test_jsonable_encoder.py"]
  bced7b30_3f2d_f639_6452_94fee704f167 -->|defined in| 80ce950d_4c72_e7d9_21bb_a5c60524786c
  7e0a504c_5ef8_5694_79d3_7eb55a704637["__iter__()"]
  bced7b30_3f2d_f639_6452_94fee704f167 -->|method| 7e0a504c_5ef8_5694_79d3_7eb55a704637

Relationship Graph

Source Code

tests/test_jsonable_encoder.py lines 40–42

class DictablePet(Pet):
    def __iter__(self):
        return ((k, v) for k, v in self.__dict__.items())

Domain

Extends

Frequently Asked Questions

What is the DictablePet class?
DictablePet is a class in the fastapi codebase, defined in tests/test_jsonable_encoder.py.
Where is DictablePet defined?
DictablePet is defined in tests/test_jsonable_encoder.py at line 40.
What does DictablePet extend?
DictablePet extends Pet.

Analyze Your Own Codebase

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

Try Supermodel Free