From 0ce2e87dad1f2f5d1ff95f9d58a134caedb02956 Mon Sep 17 00:00:00 2001 From: Galen Williamson Date: Fri, 19 Apr 2024 17:53:50 -0400 Subject: fixed class docstrings in enterprise.py and typearchive.py --- python/enterprise.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'python/enterprise.py') diff --git a/python/enterprise.py b/python/enterprise.py index 636b9023..e645ed5f 100644 --- a/python/enterprise.py +++ b/python/enterprise.py @@ -320,6 +320,11 @@ class LicenseCheckout: """ Helper class for scripts to make use of a license checkout in a scope. + :param duration: Duration between refreshes + :param _cache: Deprecated but left in for compatibility + :param release: If the license should be released at the end of scope. If `False`, you + can either manually release it later or it will expire after `duration`. + :Example: >>> enterprise.connect() >>> enterprise.authenticate_with_credentials("username", "password") @@ -335,7 +340,7 @@ class LicenseCheckout: :param duration: Duration between refreshes :param _cache: Deprecated but left in for compatibility - :param release: If the license should be released at the end of scope. If False, you + :param release: If the license should be released at the end of scope. If `False`, you can either manually release it later or it will expire after `duration`. """ self.desired_duration = duration -- cgit v1.3.1