mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
OP-2951 - refactor sync loaders
Changed structure of loaders bit, cannot use isinstance check though.
This commit is contained in:
parent
4b34050569
commit
ad3dfa872e
3 changed files with 18 additions and 13 deletions
|
|
@ -719,11 +719,11 @@ def is_sync_loader(loader):
|
|||
|
||||
|
||||
def is_remove_site_loader(loader):
|
||||
return hasattr(loader, "remove_site_on_representation")
|
||||
return hasattr(loader, "is_remove_site_loader")
|
||||
|
||||
|
||||
def is_add_site_loader(loader):
|
||||
return hasattr(loader, "add_site_to_representation")
|
||||
return hasattr(loader, "is_add_site_loader")
|
||||
|
||||
|
||||
class WrappedCallbackItem:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue