@luiztauffer FYI, I made some simplifications here.
parameter, input_file, output_file, parameter_group have all been collapsed into field and the type of the attribute is used to determine which it is. Not all args are relevant for every type - for example, default only applies to parameters. But I think it's worth the simplification, because things were getting confusing (e.g., the difference between input_file and pr.InputFile).
yes, I know this brings us even closer to reinventing pydantic :)
I also renamed ProtocaasProcessor to ProcessorBase
@luiztauffer FYI, I made some simplifications here.
parameter, input_file, output_file, parameter_group have all been collapsed into
field
and the type of the attribute is used to determine which it is. Not all args are relevant for every type - for example, default only applies to parameters. But I think it's worth the simplification, because things were getting confusing (e.g., the difference between input_file and pr.InputFile).yes, I know this brings us even closer to reinventing pydantic :)
I also renamed ProtocaasProcessor to ProcessorBase