mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge branch 'develop' into enhancement/1309-loader-tool-add-tags-filtering
This commit is contained in:
commit
150d01fb51
2 changed files with 23 additions and 0 deletions
|
|
@ -100,6 +100,10 @@ from .context_tools import (
|
||||||
get_current_task_name
|
get_current_task_name
|
||||||
)
|
)
|
||||||
|
|
||||||
|
from .compatibility import (
|
||||||
|
is_product_base_type_supported,
|
||||||
|
)
|
||||||
|
|
||||||
from .workfile import (
|
from .workfile import (
|
||||||
discover_workfile_build_plugins,
|
discover_workfile_build_plugins,
|
||||||
register_workfile_build_plugin,
|
register_workfile_build_plugin,
|
||||||
|
|
@ -223,4 +227,7 @@ __all__ = (
|
||||||
# Backwards compatible function names
|
# Backwards compatible function names
|
||||||
"install",
|
"install",
|
||||||
"uninstall",
|
"uninstall",
|
||||||
|
|
||||||
|
# Feature detection
|
||||||
|
"is_product_base_type_supported",
|
||||||
)
|
)
|
||||||
|
|
|
||||||
16
client/ayon_core/pipeline/compatibility.py
Normal file
16
client/ayon_core/pipeline/compatibility.py
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
"""Package to handle compatibility checks for pipeline components."""
|
||||||
|
|
||||||
|
|
||||||
|
def is_product_base_type_supported() -> bool:
|
||||||
|
"""Check support for product base types.
|
||||||
|
|
||||||
|
This function checks if the current pipeline supports product base types.
|
||||||
|
Once this feature is implemented, it will return True. This should be used
|
||||||
|
in places where some kind of backward compatibility is needed to avoid
|
||||||
|
breaking existing functionality that relies on the current behavior.
|
||||||
|
|
||||||
|
Returns:
|
||||||
|
bool: True if product base types are supported, False otherwise.
|
||||||
|
|
||||||
|
"""
|
||||||
|
return False
|
||||||
Loading…
Add table
Add a link
Reference in a new issue