def resolve(self):
module = __import__(self.module_name, fromlist=['<STR_LIT>'], level=<NUM_LIT:0>)<EOL>try:<EOL><INDENT>return functools.reduce(getattr, self.attrs, module)<EOL><DEDENT>except AttributeError as exc:<EOL><INDENT>raise ImportError(str(exc))<EOL><DEDENT>
Resolve the entry point from its module and attrs.