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

Method __str__

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

Source from the content-addressed store, hash-verified

28 return "Undefined. for <%s %s>" % (self.__class__.__name__, id(self))
29
30 def __str__(self) -> str:
31 return self.object_id()
32
33 def __repr__(self) -> str:
34 return "<%s>" % self.object_id()

Callers

nothing calls this directly

Calls 1

object_idMethod · 0.95

Tested by

no test coverage detected