Move import into load to avoid circular imports

This commit is contained in:
ines 2017-10-03 15:22:19 +02:00
parent 8902df44de
commit e49cd7aeaf
1 changed files with 1 additions and 1 deletions

View File

@ -3,12 +3,12 @@ from __future__ import unicode_literals
from .cli.info import info as cli_info from .cli.info import info as cli_info
from .glossary import explain from .glossary import explain
from .deprecated import resolve_load_name
from .about import __version__ from .about import __version__
from . import util from . import util
def load(name, **overrides): def load(name, **overrides):
from .deprecated import resolve_load_name
name = resolve_load_name(name, **overrides) name = resolve_load_name(name, **overrides)
return util.load_model(name, **overrides) return util.load_model(name, **overrides)