added repr for client showing the overview

This commit is contained in:
2023-01-23 10:36:49 +01:00
parent caddf95ca5
commit 6dfb2cf897

View File

@ -8,4 +8,12 @@ class RPCClient(xrc.ServerProxy):
super().__init__(uri, *args, **kwargs)
def __repr__(self):
orig = super().__repr__()
head = orig.strip("<>").rstrip("/")
head += " exposing:\n\n"
help = self.utils.help()
return head + help