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:

dict or None – If the license type is ‘local’, returns None. Otherwise, returns a dictionary with the following keys:

  • active (bool or None): Whether the license is active

  • runs_used (int or None): Number of runs used

  • runs_left (int or None): Number of runs left

  • expiry (datetime.date or None): Expiry date of the license