We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eede70 commit 60b215cCopy full SHA for 60b215c
autoclass/autoargs_.py
@@ -83,7 +83,7 @@ def autoargs_decorate(func, # type: Callable
83
84
# check that include/exclude dont contain names that are incorrect
85
if include is not None:
86
- incorrect = set(list([include] if isinstance(include, str) else include)) - set(func_sig.parameters.keys())
+ incorrect = set([include] if isinstance(include, str) else include) - set(func_sig.parameters.keys())
87
if len(incorrect) > 0:
88
raise ValueError("@autoargs definition exception: include contains '%s' that is/are "
89
"not part of signature for %s" % (incorrect, func))
0 commit comments