@property
    def task_identifier(self):
        task_id = self.celery_self.name
        if self.include_args:
            merged_args = str(self.args) + str([(k, self.kwargs[k]) for k in sorted(self.kwargs)])
            task_id += '.args.{0}'.format(hashlib.md5(merged_args.encode('utf-8')).hexdigest())
        return task_id
Populate the ManyToMany data on the instance.
dataset/ETHPy150Open Robpol86/Flask-Celery-Helper/flask_celery.py/_LockManager.task_identifier--crossover with--dataset/ETHPy150Open toastdriven/piecrust/piecrust/resources.py/Resource.hydrate_m2m