best-doctor / Mario

Shaping your business logic in Python
MIT License
17 stars 2 forks source link

Looks like list of arguments and args types of `run` should be specified somehow #23

Closed Melevir closed 4 years ago

Melevir commented 4 years ago

run call can requre not only first pipe argument and types are not clear, so as errors if args are wrong.

Maybe it should be done as validation on run call.

Melevir commented 4 years ago

It looks like a good idea to specify run arguments as a list of names and its types. This should be done be pipeline author and run arguments should be validated when the method is called.