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

Method object_id

test/vpp_object.py:26–28  ·  view source on GitHub ↗

Return a unique string representing this object.

(self)

Source from the content-addressed store, hash-verified

24 pass
25
26 def object_id(self) -> str:
27 """Return a unique string representing this object."""
28 return "Undefined. for <%s %s>" % (self.__class__.__name__, id(self))
29
30 def __str__(self) -> str:
31 return self.object_id()

Callers 6

__str__Method · 0.95
__repr__Method · 0.95
__hash__Method · 0.95
__eq__Method · 0.95
register_exclusiveMethod · 0.45
registerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected