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