SDKs
Python SDK

Watch Dogs

7min

Watch Dogs

Watchdog is a thread that regularly checks license or feature

License Watch Dogs

setup_license_watch_dog

Initializes and starts the license watchdog with the specified callback and timeout settings.

Parameters:

  • callback (callable):A callable to be executed by the watchdog in response to specific events or conditions.
  • timeout (int): The period in minutes after which the watchdog should perform its checks.
  • deamon (bool, optional): Run thread as deamon. Defaults to False.
  • run_immediately (bool,optional): run license check immediately, if False wait for timeout first. Defaults to True
Python


stop_license_watch_dog

Stops the license watchdog if it is currently running.

Python


Feature Watch Dogs

setup_feature_watch_dog

Initializes and starts the feature watchdog with the specified callback and timeout.

Parameters:

  • callback (callable): A callable to be executed by the watchdog in response to specific events or conditions.
  • timeout (int): The period in minutes after which the watchdog should perform its checks.
  • deamon (bool, optional): Run thread as deamon. Defaults to False.
Python


stop_feature_watch_dog

Stops the feature watchdog if it is currently running.

Python