Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

the The interface_1.py script is a prototype script that defines an interface using the zope.interface module. It is used as a reference when working with the sample_Script_session_vars 1.py script and the vp_scheduler_n_events_1.py script.

The interface includes an IEventHandler and IScheduler, and is designed to provide contracts for event processing and task scheduling.

Info

This script is utilized when customers upload their own script instead of subscribing to an AppDirect marketplace script. If customers are using automation scripts from the marketplace, there is no need to upload this script. For information on uploading your own scripts for use with Data Connector, see Uploading Python Automation Scripts for Use with the Cloud Services Portal.

Here's how you can utilize the interfaces defined in the script:

...