def proc_decorator(req_set):
def decorator(func):<EOL><INDENT>@wraps(func)<EOL>def inner(self, *args, **kwargs):<EOL><INDENT>proc = func.__name__.lower()<EOL>inner.proc_decorator = kwargs<EOL>self.logger.debug("<STR_LIT>".format(func.__name__))<EOL>self.logger.debug(req_set)<EOL>self.logger.debug("<STR_LIT>" + str(type(kwargs)))<EOL>if proc in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>kwargs['<STR_LIT>'] = kwargs.get('<STR_LIT>', False)<EOL><DEDENT>if proc == '<STR_LIT>':<EOL><INDENT>proc = '<STR_LIT>'<EOL><DEDENT>legal_set = set(kwargs.keys())<EOL>self.logger.debug(legal_set)<EOL>return SASProcCommons._run_proc(self, proc, req_set, legal_set, **kwargs)<EOL><DEDENT>return inner<EOL><DEDENT>return decorator<EOL>
Decorator that provides the wrapped function with an attribute 'actual_kwargs'
containing just those keyword arguments actually passed in to the function.