You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 12, 2020. It is now read-only.
def post_api(self, module, *args):
print args # will always be ()
The idea is that if I call site/api/machine/my_machine/delete then module is 'machine', and args should be ('my_machine', 'delete').
On another note, perhaps *kwargs could be integrated as well, using params.
(e.g. for site/api/action?key1=val1&key2=val2 then kwargs will be {'key1': 'val1', 'key2': 'val2'})