pywasp.user_config.get_license_status#
- pywasp.user_config.get_license_status()[source]#
Get a dict containing the license status. Returns None if the license type is ‘local’.
- Returns:
dictorNone– If the license type is ‘local’, returns None. Otherwise, returns a dictionary with the following keys:active(bool or None): Whether the license is activeruns_used(int or None): Number of runs usedruns_limit(int or None): Maximum number of runsexpiry(datetime.date or None): Expiry date of the license
- Raises:
LicenseConfigError – If no valid configuration exists or the license server rejects the configured credentials.
LicenseServerUnreachableError – If the license server cannot be reached.