mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
Updated names
This commit is contained in:
parent
2fe9381471
commit
fb1879a645
1 changed files with 7 additions and 7 deletions
|
|
@ -424,16 +424,16 @@ def _load_context(Loader, contexts, name, namespace, options, hooks):
|
|||
namespace,
|
||||
options,
|
||||
)
|
||||
load_return = Loader().load(contexts, name, namespace, options)
|
||||
loaded_container = Loader().load(contexts, name, namespace, options)
|
||||
for hook_plugin_cls in hooks.get("post", []):
|
||||
hook_plugin_cls().process(
|
||||
load_return,
|
||||
loaded_container,
|
||||
contexts,
|
||||
name,
|
||||
namespace,
|
||||
options,
|
||||
)
|
||||
return load_return
|
||||
return loaded_container
|
||||
|
||||
|
||||
def load_container(
|
||||
|
|
@ -624,13 +624,13 @@ def update_container(container, version=-1, hooks_by_identifier=None):
|
|||
context,
|
||||
container
|
||||
)
|
||||
update_return = Loader().update(container, context)
|
||||
updated_container = Loader().update(container, context)
|
||||
for hook_plugin_cls in hooks.get("post", []):
|
||||
hook_plugin_cls().update(
|
||||
context,
|
||||
container
|
||||
)
|
||||
return update_return
|
||||
return updated_container
|
||||
|
||||
|
||||
def switch_container(
|
||||
|
|
@ -694,14 +694,14 @@ def switch_container(
|
|||
context,
|
||||
container
|
||||
)
|
||||
switch_return = loader.switch(container, context)
|
||||
switched_container = loader.switch(container, context)
|
||||
for hook_plugin_cls in hooks.get("post", []):
|
||||
hook_plugin_cls().switch(
|
||||
context,
|
||||
container
|
||||
)
|
||||
|
||||
return switch_return
|
||||
return switched_container
|
||||
|
||||
|
||||
def _fix_representation_context_compatibility(repre_context):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue