How to read output datasets for "do" function in custom plugin UI?

msr Partner, Registered Posts: 9 Partner

We are creating a plugin with custom UI using JS. From JS we are calling python "do" function to get data.

How can we read the output datasets selected in the recipe and then return relevant data from "do" function to UI ?

In python "do" function has the parameters- (payload, config, plugin_config, inputs). What do these parameters do and what options are available?

Operating system used: Windows

Setup Info
      Help me…