update Shared
This commit is contained in:
parent
e7ebbedd38
commit
6881f3471a
184 changed files with 13080 additions and 13691 deletions
|
|
@ -52,6 +52,8 @@ class API(object):
|
|||
|
||||
def _add_action(self, action):
|
||||
def method(self, *args, **kw):
|
||||
if args and kw:
|
||||
raise ValueError('pass either a dictionary or kwargs, not both')
|
||||
if not kw:
|
||||
if args:
|
||||
kw = args[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue