mark 'newAssetPublishing' as deprecated since 24/06/06

This commit is contained in:
Jakub Trllo 2024-06-06 17:34:46 +02:00
parent cfe6ae1c67
commit 4cbbe322b5
8 changed files with 10 additions and 10 deletions

View file

@ -393,7 +393,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
if (
instance.data.get("newHierarchyIntegration")
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
or instance.data.get("newAssetPublishing")
):
hierarchy = instance.data["hierarchy"]
@ -438,7 +438,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
# - if we're in editorial, make sure the task type is filled
new_hierarchy = (
instance.data.get("newHierarchyIntegration")
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
or instance.data.get("newAssetPublishing")
)
if not new_hierarchy or task_data["type"]:
@ -448,7 +448,7 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
# New hierarchy is not created, so we can only skip rest of the logic
new_hierarchy = (
instance.data.get("newHierarchyIntegration")
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
or instance.data.get("newAssetPublishing")
)
if not new_hierarchy:

View file

@ -26,7 +26,7 @@ class ValidateFolderEntities(pyblish.api.InstancePlugin):
elif (
instance.data.get("newHierarchyIntegration")
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
or instance.data.get("newAssetPublishing")
):
# skip if it is editorial

View file

@ -153,7 +153,7 @@ class CollectTimelineInstances(pyblish.api.ContextPlugin):
for task in self.add_tasks},
"representations": [],
"newHierarchyIntegration": True,
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
"newAssetPublishing": True,
})
self.log.debug("__ inst_data: {}".format(pformat(inst_data)))

View file

@ -141,7 +141,7 @@ class PrecollectInstances(pyblish.api.ContextPlugin):
# add all additional tags
"tags": phiero.get_track_item_tags(track_item),
"newHierarchyIntegration": True,
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
"newAssetPublishing": True,
})

View file

@ -102,7 +102,7 @@ class PrecollectInstances(pyblish.api.ContextPlugin):
"handleStart": handle_start,
"handleEnd": handle_end,
"newHierarchyIntegration": True,
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
"newAssetPublishing": True,
"families": ["clip"],
"productType": product_type,

View file

@ -677,7 +677,7 @@ or updating already created. Publishing will create OTIO file.
"variant": variant_name,
"task": None,
"newHierarchyIntegration": True,
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
"newAssetPublishing": True,
"trackStartFrame": track_start_frame,
"timelineOffset": timeline_offset,

View file

@ -30,7 +30,7 @@ class CollectSequenceFrameData(
# editorial would fail since they might not be in database yet
new_hierarchy = (
instance.data.get("newHierarchyIntegration")
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
or instance.data.get("newAssetPublishing")
)
if new_hierarchy:

View file

@ -35,7 +35,7 @@ class ValidateFrameRange(OptionalPyblishPluginMixin,
# editorial would fail since they might not be in database yet
new_hierarchy = (
instance.data.get("newHierarchyIntegration")
# Backwards compatible
# Backwards compatible (Deprecated since 24/06/06)
or instance.data.get("newAssetPublishing")
)
if new_hierarchy: