Skip to content

Commit 220f7d6

Browse files
committed
Add str output for class
1 parent bbc9cc1 commit 220f7d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

kepconfig/admin/lls.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ def _get_dict(self):
5555
LICENSING_SERVER_ALLOW_SELF_SIGNED_CERTS: self.allow_self_signed_certs,
5656
LICENSING_CLIENT_ALIAS: self.instance_alias_name
5757
}
58+
59+
def __str__(self) -> str:
60+
return "{}".format(self._get_dict())
5861

5962
def get_lls_config(server) -> lls_config:
6063
'''Returns the properties of the Local License server properties. Returned object is lls_config class object.

0 commit comments

Comments
 (0)