def from_dict(cls, async):
        """Return an async job from a dict output by Async.to_dict."""
        async_options = decode_async_options(async)

        target, args, kwargs = async_options.pop('job')

        return cls(target, args, kwargs, **async_options)
def from_dict ( cls , async ) : async_options = decode_async_options ( async ) target , args , kwargs = async_options . pop ( 'job' ) return cls ( target , args , kwargs , ** async_options )
Return an async job from a dict output by Async.to_dict.