From d2c7f1db2d7f3d016bca707cb376948030ba973c Mon Sep 17 00:00:00 2001 From: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com> Date: Wed, 30 Oct 2024 14:05:35 +0100 Subject: [PATCH] remove `"root"` key from template data --- client/ayon_core/pipeline/delivery.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/ayon_core/pipeline/delivery.py b/client/ayon_core/pipeline/delivery.py index 1a8a8498b9..8fdf2547ba 100644 --- a/client/ayon_core/pipeline/delivery.py +++ b/client/ayon_core/pipeline/delivery.py @@ -409,5 +409,9 @@ def get_representations_delivery_template_data( "version": version_entity["version"], }) _merge_data(template_data, repre_entity["context"]) + + # Remove roots from temlate data to auto-fill them with anatomy data + template_data.pop("root") + output[repre_id] = template_data return output