File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -572,7 +572,7 @@ def _field_metadata(
572
572
return attr .NOTHING
573
573
return val
574
574
elif "callable" in fld .metadata :
575
- call_args = inspect .getargspec (fld .metadata ["callable" ])
575
+ call_args = inspect .getfullargspec (fld .metadata ["callable" ])
576
576
call_args_val = {}
577
577
for argnm in call_args .args :
578
578
if argnm == "field" :
Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ def _command_pos_args(self, field):
431
431
# formatter that creates a custom command argument
432
432
# it can thake the value of the filed, all inputs, or the value of other fields.
433
433
if "formatter" in field .metadata :
434
- call_args = inspect .getargspec (field .metadata ["formatter" ])
434
+ call_args = inspect .getfullargspec (field .metadata ["formatter" ])
435
435
call_args_val = {}
436
436
for argnm in call_args .args :
437
437
if argnm == "field" :
You can’t perform that action at this time.
0 commit comments