Skip to content

Commit

Permalink
fix imports in stubs and extensions_support
Browse files Browse the repository at this point in the history
  • Loading branch information
madhur-ob committed May 15, 2024
1 parent d7b1d54 commit 2f87ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metaflow/cmd/develop/stubs.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _check_stubs_supported():
if _py_ver >= (3, 8):
from importlib import metadata
elif _py_ver >= (3, 6):
from metaflow._vendor.v3_6 import importlib_metadata as metadata
from metaflow._vendor import importlib_metadata as metadata
else:
from metaflow._vendor.v3_5 import importlib_metadata as metadata
_metadata_package = metadata
Expand Down
2 changes: 1 addition & 1 deletion metaflow/extension_support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def multiload_all(modules, extension_point, dst_globals):
if _py_ver >= (3, 8):
from importlib import metadata
elif _py_ver >= (3, 6):
from metaflow._vendor.v3_6 import importlib_metadata as metadata
from metaflow._vendor import importlib_metadata as metadata
else:
from metaflow._vendor.v3_5 import importlib_metadata as metadata
_mfext_supported = True
Expand Down

0 comments on commit 2f87ca0

Please sign in to comment.