added repr for client showing the overview
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user