diff --git a/plugins/annotation/__init__.py b/plugins/annotation/__init__.py index a3b1597c..dd1e0eba 100644 --- a/plugins/annotation/__init__.py +++ b/plugins/annotation/__init__.py @@ -920,7 +920,7 @@ def execute(self, ctx): kwargs = {} if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(ctx.dataset.load_annotations).parameters diff --git a/plugins/brain/__init__.py b/plugins/brain/__init__.py index c75d76fa..d9f51f3d 100644 --- a/plugins/brain/__init__.py +++ b/plugins/brain/__init__.py @@ -76,7 +76,7 @@ def execute(self, ctx): kwargs = {} if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(fob.compute_visualization).parameters @@ -199,7 +199,7 @@ def execute(self, ctx): target_view = _get_target_view(ctx, target) if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(fob.compute_similarity).parameters @@ -1003,7 +1003,7 @@ def execute(self, ctx): kwargs = {} if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(fob.compute_uniqueness).parameters @@ -1103,7 +1103,7 @@ def execute(self, ctx): target_view = _get_target_view(ctx, target) if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(fob.compute_mistakenness).parameters @@ -1299,7 +1299,7 @@ def execute(self, ctx): kwargs = {} if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(fob.compute_hardness).parameters diff --git a/plugins/evaluation/__init__.py b/plugins/evaluation/__init__.py index f61333f4..4fef679d 100644 --- a/plugins/evaluation/__init__.py +++ b/plugins/evaluation/__init__.py @@ -66,7 +66,7 @@ def execute(self, ctx): eval_fcn = target_view.evaluate_segmentations if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if "progress" in inspect.signature(eval_fcn).parameters: progress = lambda pb: ctx.set_progress(progress=pb.progress) kwargs["progress"] = fo.report_progress(progress, dt=5.0) diff --git a/plugins/io/__init__.py b/plugins/io/__init__.py index d8a38095..ccce32ca 100644 --- a/plugins/io/__init__.py +++ b/plugins/io/__init__.py @@ -821,7 +821,7 @@ def _import_media_only(ctx): if delegate: kwargs = {} - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if "progress" in inspect.signature(ctx.dataset.add_samples).parameters: progress = lambda pb: ctx.set_progress(progress=pb.progress) kwargs["progress"] = fo.report_progress(progress, dt=5.0) @@ -867,7 +867,7 @@ def _import_media_and_labels(ctx): kwargs["label_types"] = label_types if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if "progress" in inspect.signature(ctx.dataset.add_dir).parameters: progress = lambda pb: ctx.set_progress(progress=pb.progress) kwargs["progress"] = fo.report_progress(progress, dt=5.0) @@ -914,7 +914,7 @@ def _import_labels_only(ctx): kwargs["label_types"] = label_types if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if "progress" in inspect.signature(ctx.dataset.merge_dir).parameters: progress = lambda pb: ctx.set_progress(progress=pb.progress) kwargs["progress"] = fo.report_progress(progress, dt=5.0) @@ -2089,7 +2089,7 @@ def _export_samples(ctx): kwargs["abs_paths"] = abs_paths if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if "progress" in inspect.signature(target_view.export).parameters: progress = lambda pb: ctx.set_progress(progress=pb.progress) kwargs["progress"] = fo.report_progress(progress, dt=5.0) @@ -2560,7 +2560,7 @@ def execute(self, ctx): kwargs = {} if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(target_view.draw_labels).parameters diff --git a/plugins/utils/__init__.py b/plugins/utils/__init__.py index dc061307..60e322f5 100644 --- a/plugins/utils/__init__.py +++ b/plugins/utils/__init__.py @@ -1202,7 +1202,7 @@ def execute(self, ctx): if delegate: kwargs = {} - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(view.compute_metadata).parameters @@ -1518,7 +1518,7 @@ def execute(self, ctx): kwargs = {} if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(foui.transform_images).parameters diff --git a/plugins/zoo/__init__.py b/plugins/zoo/__init__.py index c39fff4e..4f35e9ff 100644 --- a/plugins/zoo/__init__.py +++ b/plugins/zoo/__init__.py @@ -52,7 +52,7 @@ def execute(self, ctx): dataset_name = _get_zoo_dataset_name(ctx) if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(foz.load_zoo_dataset).parameters @@ -458,7 +458,7 @@ def execute(self, ctx): kwargs = {} if delegate: - # can remove check if we require `fiftyone>=0.24` + # can remove check if we require `fiftyone>=0.23.3` if ( "progress" in inspect.signature(target_view.apply_model).parameters