Skip to content

compatibility

Package to handle compatibility checks for pipeline components.

is_product_base_type_supported()

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:

Name Type Description
bool bool

True if product base types are supported, False otherwise.

Source code in client/ayon_core/pipeline/compatibility.py
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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