From e49cd7aeaf81ed12490d82b8a65ca93088ec916e Mon Sep 17 00:00:00 2001 From: ines Date: Tue, 3 Oct 2017 15:22:19 +0200 Subject: [PATCH] Move import into load to avoid circular imports --- spacy/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/__init__.py b/spacy/__init__.py index 1cb7c0cbd..9acc566ad 100644 --- a/spacy/__init__.py +++ b/spacy/__init__.py @@ -3,12 +3,12 @@ from __future__ import unicode_literals from .cli.info import info as cli_info from .glossary import explain -from .deprecated import resolve_load_name from .about import __version__ from . import util def load(name, **overrides): + from .deprecated import resolve_load_name name = resolve_load_name(name, **overrides) return util.load_model(name, **overrides)