summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
-rw-r--r--wrappers/python/eduvpn_common/main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py
index 613dce2..334c8b8 100644
--- a/wrappers/python/eduvpn_common/main.py
+++ b/wrappers/python/eduvpn_common/main.py
@@ -194,14 +194,14 @@ class EduVPN(object):
forwardError(server_err)
return server
- def get_disco_organizations(self, search="") -> str:
- orgs, _ = self.go_cookie_function(self.lib.DiscoOrganizations, search)
+ def get_disco_organizations(self, cache: bool = False, search="") -> str:
+ orgs, _ = self.go_cookie_function(self.lib.DiscoOrganizations, cache, search)
# We don't log anything here as we want to return a result and we don't want to throw here
# we already log for errors in common
return orgs
- def get_disco_servers(self, search="") -> str:
- servers, _ = self.go_cookie_function(self.lib.DiscoServers, search)
+ def get_disco_servers(self, cache: bool = False, search="") -> str:
+ servers, _ = self.go_cookie_function(self.lib.DiscoServers, cache, search)
# We don't log anything here as we want to return a result and we don't want to throw here
# we already log for errors in common
return servers