MCPcopy Create free account
hub / github.com/FDio/vpp / __hash__

Method __hash__

test/vpp_object.py:36–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 return "<%s>" % self.object_id()
35
36 def __hash__(self) -> int:
37 return hash(self.object_id())
38
39 def __eq__(self, other) -> bool:
40 if not isinstance(other, self.__class__):

Callers

nothing calls this directly

Calls 1

object_idMethod · 0.95

Tested by

no test coverage detected