bmritz / datajet

A Data Dependency Graph Framework and Executor
https://bmritz.github.io/datajet/
MIT License
2 stars 1 forks source link

Implement function decorator interface #3

Closed bmritz closed 1 year ago

bmritz commented 2 years ago

This interface would instantiate a "function collector" object, that would have a method that could be called as a decorator on each function that would be a resolver. Input names and output names would be optional parameters in the decorator method. Output names would be taken from the function name if not provided. Input names would be taken from the parameter names if not provided.