def __init__(self, key=None, *accept_args, **accept_kwargs):
        """
        :param key: optional - already pickled tuple (accept_args, accept_kwargs)
        :param accept_args: positional args
        :param accept_kwargs: keyword args
        """
        if key is None:
            key = pickle.dumps(dict(args=accept_args, kwargs=accept_kwargs))

        self.key = key
        self.accept_args = accept_args
        self.accept_kwargs = accept_kwargs
def __init__ ( self , key = None , * accept_args , ** accept_kwargs ) : if key is None : key = pickle . dumps ( dict ( args = accept_args , kwargs = accept_kwargs ) ) self . key = key self . accept_args = accept_args self . accept_kwargs = accept_kwargs
:param key: optional - already pickled tuple (accept_args, accept_kwargs)
        :param accept_args: positional args
        :param accept_kwargs: keyword args