mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Added switch methods to Loader Hooks
This commit is contained in:
parent
82ae29dc12
commit
f609d2f5c4
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue