Skip to content

is_factory

kedro_azureml_pipeline.factory.is_factory(key)

True if a jobs key is a factory (contains {placeholder} markers).

Source Code

Source code in src/kedro_azureml_pipeline/factory.py
def is_factory(key: str) -> bool:
    """True if a ``jobs`` key is a factory (contains ``{placeholder}`` markers)."""
    return "{" in key and "}" in key