We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4349882 commit de73e88Copy full SHA for de73e88
pipelines/pipeline_utils.py
@@ -296,8 +296,7 @@ def maybe_raise_or_warn(
296
297
if not issubclass(model_cls, expected_class_obj):
298
raise ValueError(
299
- f"{passed_class_obj[name]} is of type: {type(passed_class_obj[name])}, but should be"
300
- f" {expected_class_obj}"
+ f"{passed_class_obj[name]} is of type: {model_cls}, but should be" f" {expected_class_obj}"
301
)
302
else:
303
logger.warning(
0 commit comments