Skip to content

Commit

Permalink
Fix missing exec module
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSchweizer committed May 2, 2024
1 parent b819d75 commit b94617e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flowpipe/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def import_class(module, cls_name, file_location=None):
"module", loader, origin=file_location
)
module = importlib.util.module_from_spec(spec)
loader.exec_module(module)
cls = getattr(module, cls_name)
return cls

Expand Down

0 comments on commit b94617e

Please sign in to comment.