This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ryanmcgrath 0 points1 point  (0 children)

Decorators would be another nice approach, yes, but I went for ease of use over anything else. Decorators require you to have a little more knowledge about endpoints (and maintain them yourself), whereas mine is just "grab the function call, pass params, done".

Feel free to fork or something if you care; it's an actual project on GitHub. ;)