Custom code brick wraps users' Python code into the Datrics brick and uses it in the pipeline in a usual way. New brick follows the common brick structure and consists of:
- Inputs
- Outputs
- Arguments
- Code
Custom code brick can have multiple inputs and outputs of the data type. The code follows the Datrics bricks' structure with inputs and arguments validation methods, and brick execution method. An analyst may use the built-in functions to perform some inputs and arguments handling and metric calculation functions.