minor fixes in global plugins

This commit is contained in:
Jakub Trllo 2024-03-08 12:28:37 +01:00
parent 70306a1229
commit c4f74a6aed
3 changed files with 3 additions and 3 deletions

View file

@ -379,7 +379,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
def _fill_folder_data(self, instance, project_entity, anatomy_data):
# QUESTION should we make sure that all folder data are poped if
# folder data cannot be found?
# - 'asset', 'hierarchy', 'parent', 'folder'
# - 'folder', 'hierarchy', 'parent', 'folder'
folder_entity = instance.data.get("folderEntity")
if folder_entity:
folder_name = folder_entity["name"]

View file

@ -122,7 +122,7 @@ class IntegrateInputLinksAYON(pyblish.api.ContextPlugin):
new_links_by_type,
"generative",
input_version,
version_entity["_id"],
version_entity["id"],
)
def _get_existing_links(self, project_name, link_type, entity_ids):

View file

@ -56,7 +56,7 @@ class IntegrateVersionAttributes(pyblish.api.ContextPlugin):
continue
self.log.debug("Updating attributes on version {} to {}".format(
version_entity["_id"], str(filtered_attributes)
version_entity["id"], str(filtered_attributes)
))
op_session.update_entity(
project_name,