MCPcopy
hub / github.com/fastapi/fastapi / DictablePerson

Class DictablePerson

tests/test_jsonable_encoder.py:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35class DictablePerson(Person):
36 def __iter__(self):
37 return ((k, v) for k, v in self.__dict__.items())
38
39
40class DictablePet(Pet):

Callers 1

test_encode_dictableFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_encode_dictableFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…