Merge branch 'develop' into enhancement/1309-loader-tool-add-tags-filtering

This commit is contained in:
Jakub Trllo 2025-06-16 09:38:34 +02:00 committed by GitHub
commit 150d01fb51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 23 additions and 0 deletions

View file

@ -100,6 +100,10 @@ from .context_tools import (
get_current_task_name
)
from .compatibility import (
is_product_base_type_supported,
)
from .workfile import (
discover_workfile_build_plugins,
register_workfile_build_plugin,
@ -223,4 +227,7 @@ __all__ = (
# Backwards compatible function names
"install",
"uninstall",
# Feature detection
"is_product_base_type_supported",
)

View 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