Added switch methods to Loader Hooks

This commit is contained in:
Petr Kalis 2025-04-04 17:19:24 +02:00
parent 82ae29dc12
commit f609d2f5c4

View file

@ -280,6 +280,9 @@ class PreLoadHookPlugin:
def update(self, container, context):
pass
def switch(self, container, context):
pass
class PostLoadHookPlugin:
"""Plugin that should be run after any Loaders in 'loaders'
@ -295,6 +298,9 @@ class PostLoadHookPlugin:
def update(self, container, context):
pass
def switch(self, container, context):
pass
def discover_loader_plugins(project_name=None):
from ayon_core.lib import Logger