MCPcopy Create free account
hub / github.com/cdgriffith/Box / __iter__

Method __iter__

box/box.py:1106–1108  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1104 return str(self.to_dict())
1105
1106 def __iter__(self) -> Generator: # type: ignore[type-arg]
1107 for key in self.keys():
1108 yield key
1109
1110 def __reversed__(self) -> Generator: # type: ignore[type-arg]
1111 for key in reversed(list(self.keys())):

Callers 1

test_iterMethod · 0.95

Calls 1

keysMethod · 0.95

Tested by 1

test_iterMethod · 0.76