The function to extract parameter names in the _fn_call_to_dict function has been renamed and should be replaced. Sample replacement lines:
from inspect import getfullargspec
pnames = list(getfullargspec(fn).args)
pvals = list(args) + list(kwargs.values())