Open yoavgolan opened 5 years ago
This is a great idea! I like your second and third points the most. PS, if you have time 🤞, you are welcome to work on it. Here, you are awesome in any case.
What do you think about keeping the run_plugin
and having the class, so people could choose if they want to use classes or not? or will it make a mess?
@yammesicka @yoavgolan
Maybe we can add some @shitty_decorator
that will wrap functions to make it compatible :)
@look_at_me_im_a_plugin_class
def run_plugin(params):
pass
Maybe we can add some
@shitty_decorator
that will wrap functions to make it compatible :)@look_at_me_im_a_plugin_class def run_plugin(params): pass
That's cool. That way we keep both ways working, right?
Creating a Plugin class will help create: