diff --git a/inference/core/workflows/core_steps/transformations/relative_static_crop/v1.py b/inference/core/workflows/core_steps/transformations/relative_static_crop/v1.py index 0650a2e38b..1489884426 100644 --- a/inference/core/workflows/core_steps/transformations/relative_static_crop/v1.py +++ b/inference/core/workflows/core_steps/transformations/relative_static_crop/v1.py @@ -21,6 +21,8 @@ WorkflowBlockManifest, ) +_CROPS_OUTPUT = [OutputDefinition(name="crops", kind=[IMAGE_KIND])] + LONG_DESCRIPTION = """ Crop a Region of Interest (RoI) from an image, using relative coordinates. @@ -72,9 +74,7 @@ def get_parameters_accepting_batches(cls) -> List[str]: @classmethod def describe_outputs(cls) -> List[OutputDefinition]: - return [ - OutputDefinition(name="crops", kind=[IMAGE_KIND]), - ] + return _CROPS_OUTPUT @classmethod def get_execution_engine_compatibility(cls) -> Optional[str]: