Dashboard
Only available to Pro and Enterprise users
Describe
Describe the Step you wish to create in plain text, and provide the input and output schema.
CLI
Step File
Create a file named
StepName.py in the newly created directory. Any additional files required for the step should be placed in the same folder.Code
Implement the step logic in the
StepName.py file. The step should inherit from the Step class provided by Patched. The StepName class is expected to have two methods:- init: The constructor of the class. It should accept an inputs dictionary as an argument. This dictionary contains the input data for the step. Checking of the presence and validity of the input data should be done here.
- run: The main method of the class. This method should contain the logic of the step and return a dictionary with the results.