added comments and deprecation warnings to classes which stayed where they are

This commit is contained in:
Jakub Trllo 2022-08-26 12:27:55 +02:00
parent 2e412b55c1
commit 9ead117915
2 changed files with 26 additions and 4 deletions

View file

@ -62,6 +62,11 @@ def get_errored_plugins_from_data(context):
return get_errored_plugins_from_context(context)
# 'RepairAction' and 'RepairContextAction' were moved to
# 'openpype.pipeline.publish' please change you imports.
# There is no "reasonable" way hot mark these classes as deprecated to show
# warning of wrong import.
# Deprecated since 3.14.* will be removed in 3.16.*
class RepairAction(pyblish.api.Action):
"""Repairs the action
@ -88,6 +93,7 @@ class RepairAction(pyblish.api.Action):
plugin.repair(instance)
# Deprecated since 3.14.* will be removed in 3.16.*
class RepairContextAction(pyblish.api.Action):
"""Repairs the action