code: def gen_unique_id(serialized_name, args, kwargs):
      
      return hashlib.sha256(json.dumps({
          'func': serialized_name,
          'args': args,
          'kwargs': kwargs,
      }, sort_keys=True).encode('utf8')).hexdigest()
docs: Generates and returns a hex-encoded 256-bit ID for the given task name and
      args. Used to generate IDs for unique tasks or for task locks.