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

Method __iter__

box/box.py:796–798  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

794 return str(self.to_dict())
795
796 def __iter__(self) -> Generator: # type: ignore[type-arg]
797 for key in self.keys():
798 yield key
799
800 def __reversed__(self) -> Generator: # type: ignore[type-arg]
801 for key in reversed(list(self.keys())):

Callers 2

test_iterMethod · 0.95
popitemMethod · 0.95

Calls 1

keysMethod · 0.95

Tested by 1

test_iterMethod · 0.76