2 from __future__ import unicode_literals
7 class LazyLoadExtractor(object):
12 return cls.__name__[:-2]
14 def __new__(cls, *args, **kwargs):
15 mod = __import__(cls._module, fromlist=(cls.__name__,))
16 real_cls = getattr(mod, cls.__name__)
17 instance = real_cls.__new__(real_cls)
18 instance.__init__(*args, **kwargs)