Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
merged[p.name] = var_kws
elif var_kws:
raise TypeError(
"{}() got multiple values for arguments '{}'".format(
self.code.co_name, list(var_kws.keys())))
return merged
def _identifier(self):
return '.'.join((
self.wrapped_callable.__module__, qualname(self.wrapped_callable)))
Callable.code = cached_property(_code)
Callable.annotations = property(_annotations)
Callable.kwargify = _kwargify
Callable.identifier = cached_property(_identifier)