mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
added deprecation warning for 'get_creator_plugin_paths'
This commit is contained in:
parent
27cb6512cf
commit
d6b384f019
1 changed files with 7 additions and 0 deletions
|
|
@ -70,6 +70,13 @@ class IPluginPaths(OpenPypeInterface):
|
|||
host_name (str): For which host are the plugins meant.
|
||||
"""
|
||||
|
||||
if hasattr(self, "get_creator_plugin_paths"):
|
||||
# TODO remove in 3.16
|
||||
self.log.warning((
|
||||
"DEPRECATION WARNING: Using method 'get_creator_plugin_paths'"
|
||||
" which was renamed to 'get_create_plugin_paths'."
|
||||
))
|
||||
return self.get_creator_plugin_paths(host_name)
|
||||
return self._get_plugin_paths_by_type("create")
|
||||
|
||||
def get_load_plugin_paths(self, host_name):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue