Unverified Commit d2285f51 authored by Patrick von Platen's avatar Patrick von Platen Committed by GitHub
Browse files

fix warning message pipeline loading (#3446)

parent 326f326e
...@@ -296,8 +296,7 @@ def maybe_raise_or_warn( ...@@ -296,8 +296,7 @@ def maybe_raise_or_warn(
if not issubclass(model_cls, expected_class_obj): if not issubclass(model_cls, expected_class_obj):
raise ValueError( raise ValueError(
f"{passed_class_obj[name]} is of type: {type(passed_class_obj[name])}, but should be" f"{passed_class_obj[name]} is of type: {model_cls}, but should be" f" {expected_class_obj}"
f" {expected_class_obj}"
) )
else: else:
logger.warning( logger.warning(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment