From b14f6e68b45d6750ffa052e7a0fddf34d37f36c2 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Wed, 8 Feb 2023 21:03:03 +0100 Subject: [PATCH] allow tab completion for the exposed functions on the client side --- grum/rpc/rpcclient.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/grum/rpc/rpcclient.py b/grum/rpc/rpcclient.py index 180e032..0b4ca8e 100644 --- a/grum/rpc/rpcclient.py +++ b/grum/rpc/rpcclient.py @@ -16,4 +16,8 @@ class RPCClient(xrc.ServerProxy): return head + help + def __dir__(self): + return super().__dir__() + self.utils.info().keys() + +