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
raiseValueError(f"Could not find a callable function {func_name} in server.py for question {path.name} (found non callable object instead)")
1619
-
iffunc.__code__.co_argcount!=1:
1620
-
raiseValueError(f"Function {func_name} in server.py for question {path.name} does not have the correct number of arguments (expected 1, got {func.__code__.co_argcount})")
1621
-
iffunc.__code__.co_varnames[0] !="data":
1622
-
raiseValueError(f"Function {func_name} in server.py for question {path.name} does not have the correct argument name (expected 'data', got {func.__code__.co_varnames[0]!r})")
raiseValueError(f"Function {func_name} in server.py for question {path.name} does not have the correct number of arguments (expected 1, got {len(arguments)})")
1621
+
ifarguments[0] !="data":
1622
+
raiseValueError(f"Function {func_name} in server.py for question {path.name} does not have the correct argument name (expected 'data', got {arguments[0]!r})")
0 commit comments