Commit 5d885608 authored by Aaron Hill's avatar Aaron Hill
Browse files

Fix _run method

parent 016c6f84
......@@ -221,15 +221,14 @@ def bind_api(**config):
return result
def _call(api, create=False, *args, **kargs):
def _call(api, *args, **kargs):
method = APIMethod(api, args, kargs)
if create:
if kargs.get('create'):
return method
return method.execute()
# Set pagination mode
if 'cursor' in APIMethod.allowed_param:
_call.pagination_mode = 'cursor'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment