From b0236124fb328f5d1e863f3c76e6d57273519a15 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 1 Mar 2023 00:35:39 +0100 Subject: Format: Run black and gofumpt --- wrappers/python/eduvpn_common/discovery.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'wrappers/python/eduvpn_common/discovery.py') diff --git a/wrappers/python/eduvpn_common/discovery.py b/wrappers/python/eduvpn_common/discovery.py index aa5a667..1d59c00 100644 --- a/wrappers/python/eduvpn_common/discovery.py +++ b/wrappers/python/eduvpn_common/discovery.py @@ -16,7 +16,14 @@ class DiscoOrganization: :param: secure_internet_home: str: Indicating which server is the secure internet home server :param: keyword_list: The list of strings that the users gets to search on to find the server """ - def __init__(self, display_name: str, org_id: str, secure_internet_home: str, keyword_list: List[str]): + + def __init__( + self, + display_name: str, + org_id: str, + secure_internet_home: str, + keyword_list: List[str], + ): self.display_name = display_name self.org_id = org_id self.secure_internet_home = secure_internet_home @@ -33,6 +40,7 @@ class DiscoOrganizations: :param: version: int: The version of the list as returned by Discovery :param: organizations: List[DiscoOrganization]: The actual list of discovery organizations """ + def __init__(self, version: int, organizations: List[DiscoOrganization]): self.version = version self.organizations = organizations @@ -50,6 +58,7 @@ class DiscoServer: :param: server_type: str: The server type as a string :param: support_contacts: List[str]: The list of support contacts """ + def __init__( self, authentication_url_template: str, @@ -81,6 +90,7 @@ class DiscoServers: :param: version: int: The version of the list as returned by Discovery :param: servers: List[DiscoServers]: The list of discovery servers """ + def __init__(self, version: int, servers: List[DiscoServer]): self.version = version self.servers = servers -- cgit v1.2.3