inveniosoftware / flask-resources

REST APIs for Flask
https://flask-resources.readthedocs.io
MIT License
3 stars 21 forks source link

resources: allow to attach actions as parameter #37

Open ppanero opened 4 years ago

ppanero commented 4 years ago

Being able to attach actions to same resource would be much better UX than what we have. As mentioned we need 2 classes per 1 action endpoint.

@action(route="", parser="...")
def actionA(self, *Args, **kwargs)
    pass