Skip to content

Commit

Permalink
Remove debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
ludwiktrammer committed Dec 9, 2024
1 parent 328cf82 commit dfb6b56
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ def subclass_from_factory(cls, factory_path: str) -> Self:
factory = import_by_path(factory_path, cls.default_module)
obj = factory()
if not isinstance(obj, cls):
print(obj, type(obj))
raise InvalidConfigError(f"The object returned by factory {factory_path} is not an instance of {cls}")
return obj

Expand Down

0 comments on commit dfb6b56

Please sign in to comment.