Skip to content

Commit

Permalink
quick fixes for imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovaos committed Jul 2, 2024
1 parent 3dc16bb commit 42a420f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions networkcommons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'visual',
]

#import lazy_import
import lazy_import

from ._metadata import __author__, __version__
from ._session import log, _log, session
Expand All @@ -49,6 +49,6 @@
'visual',
]

#for _mod in _MODULES:
for _mod in _MODULES:

# globals()[_mod] = lazy_import.lazy_module(f'{__name__}.{_mod}')
globals()[_mod] = lazy_import.lazy_module(f'{__name__}.{_mod}')
4 changes: 2 additions & 2 deletions networkcommons/_visual/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
Visualization methods for networks and analyses.
"""

from . import vis_networkx as networkx
from . import yfiles as yfiles
from . import vis_networkx as vis_networkx
from . import yfiles as vis_yfiles

0 comments on commit 42a420f

Please sign in to comment.