BigW Consortium Gitlab

Commit 88360b4e by Marc Abramowitz

One line hack to make the type checking not complain about the

"includes" parameter for associations, since this parameter isn't listed in the method table.
parent c334891d
......@@ -27,6 +27,8 @@ class TypeChecker(object):
def __call__(self, method, **kwargs):
params = method['params']
for k, v in kwargs.items():
if k == 'includes': continue
if k not in params:
raise ValueError('Unexpected argument: %s=%s' % (k, v))
......
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