def METHOD_NAME(self, asset, executor_id):
    str_to_hash = str(asset).encode("utf-8")
    return "{dir}/{executor_id}/{dataset}/{content_id}/{str}".format(
        dir=self.result_store_dir, executor_id=executor_id,
        dataset=asset.dataset,
        content_id=asset.content_id,
        str=hashlib.sha1(str_to_hash).hexdigest())