pywasp.user_config.get_remaining_runs#

pywasp.user_config.get_remaining_runs(verbose=False)[source]#

Get the number of runs left for the active license. If the license type is “local”, it returns None, indicating unlimited runs.

Calls the license server; to derive several figures from one request, call get_license_status() once instead (as pywasp status does).

Parameters:

verbose (bool, optional) – If True, prints the number of runs left, by default False

Returns:

int or None – Number of runs left for the active license, or None if the license is “local”, or The license is not active.

Raises:

LicenseConfigError – See get_license_status().