def enum_lookup(enum_type_name: str, value: int) -> str:
    'return a string which is the short name of the enum value\n    (truncating off the common prefix) '
    fields = sdb.get_type(enum_type_name).type.enumerators
    enum_string: str = fields[value].name
    prefix = os.path.commonprefix([f[0] for f in fields])
    return enum_string[(prefix.rfind('_') + 1):]
return a string which is the short name of the enum value
(truncating off the common prefix)
def enum_lookup(enum_type_name: str, value: int) -> str:
    'return a string which is the short name of the enum value\n    (truncating off the common prefix) '
    fields = sdb.get_type(enum_type_name).type.enumerators
    enum_string: str = fields[value].name
    prefix = os.path.commonprefix([f[0] for f in fields])
    return enum_string[(prefix.rfind('_') + 1):]