def import_model(self, source):
source = self._resolve_source(source)<EOL>self._context = FilePathContext(source)<EOL>with self._context.open() as f:<EOL><INDENT>self._reader = self._open_reader(f)<EOL><DEDENT>return self._reader.create_model()<EOL>
Import and return model instance.