python-simple-rest-client icon indicating copy to clipboard operation
python-simple-rest-client copied to clipboard

Extending resource default actions

Open mdorn opened this issue 6 years ago • 1 comments

Great project @allisson. How do I extend a Resource's actions without replacing the default endpoints entirely? I.e. I've seen the documentation for the Github example with create EventResource with custom actions -- but defining the actions that way eliminates the default create/destroy etc.

mdorn avatar Nov 23 '18 18:11 mdorn

Doesn't seem to be a way of doing that currently. https://github.com/allisson/python-simple-rest-client/blob/master/simple_rest_client/resource.py#L28

ronniehicks avatar Mar 29 '19 03:03 ronniehicks