required and optional data
use-to opened this issue · comments
Maybe we can pass the required data as parameters instead of a dict. So we can inspect the function parameters via decorator and eliminate the requires
parameter.
Yeah could do that but I am not certain it would look ugly because of so many Parameters. I personaly prefer the dict version we can define it once in scheme.py and use it possible for multiple endpoints -> less redundancy
Should we use the scheme (https://pypi.org/project/scheme/) or go for our own more light weight solution ? @use-to