Skip to content

Commit cc8272e

Browse files
authored
Update predictor.py (#902)
1 parent 7cf59ac commit cc8272e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/workloads/cortex/lib/type/predictor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def _validate_required_fn_args(impl, fn_name, args):
169169
if not callable(fn):
170170
raise UserException('"{}" is defined, but is not a function'.format(fn_name))
171171

172-
argspec = inspect.getargspec(fn)
172+
argspec = inspect.getfullargspec(fn)
173173

174174
if argspec.args != args:
175175
raise UserException(

0 commit comments

Comments
 (0)