@classmethod
def get_variant_description(cls, variant_id) ->str:
    """Get a textual description of the given variant id"""
    field_id = cls.get_variant_field_id()
    txt = cls.get_description_for_value(field_id, variant_id
        ) if field_id is not None else None
    if txt:
        return '%s %s' % (cls.get_root_variant().__name__, txt)
    elif variant_id in cls.__cls_variants_bidict:
        return cls.__cls_variants_bidict[variant_id].__name__
    elif variant_id is not None:
        return '%s Type %d' % (cls.get_root_variant().__name__, variant_id)
    else:
        return cls.get_root_variant().__name__
