From a980e3860c1f3f4adc2520335c13de456c4e2595 Mon Sep 17 00:00:00 2001 From: themylogin Date: Mon, 16 Dec 2024 13:14:33 +0100 Subject: [PATCH] Use `private_methods=True` --- midcli/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midcli/context.py b/midcli/context.py index 2dcab1a..8483b33 100644 --- a/midcli/context.py +++ b/midcli/context.py @@ -254,7 +254,7 @@ def get_client(self): recoverable_errors = 0 while True: try: - c = Client(self.url, call_timeout=self.timeout) + c = Client(self.url, private_methods=True, call_timeout=self.timeout) if self.user and self.password: if not c.call('auth.login', self.user, self.password):