This is the standard Python constructor, which is called each time the Alteryx Engine instantiates an instance of your plugin.
__init__(self, n_tool_id, alteryx_engine, output_anchor_mgr)
The arguments to this function are values provided by the Alteryx Engine, and will be used when communicating with the engine or with other tools.
- n_tool_id: An integer representing a unique identifier for the instance of the tool being created. Your plugin should save this value to communicate with the Alteryx Engine.
- alteryx_engine: A complex object representing the interface for communicating with the Alteryx Engine.
- output_anchor_mgr: A complex object used to interface with the output connections of your tool. You need to call get_output_anchor on it with the name of your output in the config file to get the handle for the output.