"git@developer.sourcefind.cn:gaoqiong/composable_kernel.git" did not exist on "7f303b3c91dea2bb6a5e005537f4e921da27cd69"
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(
if not issubclass(model_cls, expected_class_obj):
raise ValueError(
f"{passed_class_obj[name]} is of type: {type(passed_class_obj[name])}, but should be"
f" {expected_class_obj}"
f"{passed_class_obj[name]} is of type: {model_cls}, but should be" f" {expected_class_obj}"
)
else:
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