def import_class(name: Text) -> Type:
parts = name.split('<STR_LIT:.>')<EOL>module_name = parts[:-<NUM_LIT:1>]<EOL>class_name = parts[-<NUM_LIT:1>]<EOL>module_ = importlib.import_module('<STR_LIT:.>'.join(module_name))<EOL>return getattr(module_, class_name)<EOL>
Import a class based on its full name.

:param name: name of the class