def load_class(str_full_type):
  type_s = str_full_type.split('.')
  mod = importlib.import_module('.'.join(type_s[:-1]))
  cls = getattr(mod, type_s[-1])
  return cls
Load a python class given full qualified name.
dataset/ETHPy150Open ucb-sts/sts/sts/util/convenience.py/load_class