MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / __eq__

Method __eq__

utils/src/presentation.py:782–788  ·  view source on GitHub ↗
(self, __value: object)

Source from the content-addressed store, hash-verified

780 yield shape
781
782 def __eq__(self, __value: object) -> bool:
783 if not isinstance(__value, GroupShape) or len(self.data) != len(__value.data):
784 return False
785 for shape1, shape2 in zip(self.data, __value.data):
786 if isinstance(shape1, type(shape2)):
787 return False
788 return True
789
790 def __repr__(self) -> str:
791 return f"{self.__class__.__name__}: {self.data}"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected