From b94294b579e49f68531f38655a9cdbc6326119c4 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 10 Feb 2023 10:09:22 +0100 Subject: [PATCH] fixed __dir__ --- grum/rpc/rpcclient.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/grum/rpc/rpcclient.py b/grum/rpc/rpcclient.py index 0b4ca8e..e5f51d7 100644 --- a/grum/rpc/rpcclient.py +++ b/grum/rpc/rpcclient.py @@ -17,7 +17,10 @@ class RPCClient(xrc.ServerProxy): def __dir__(self): - return super().__dir__() + self.utils.info().keys() + d1 = super().__dir__() + d2 = self.utils.info().keys() + d2 = list(d2) + return d1 + d2