#NEWLINE# @ classmethod #NEWLINE# def get_identifier( cls , instance ) : #NEWLINE# #INDENT# render_type = instance . glossary . get ( 'render_type' ) #NEWLINE# render_type = dict ( cls . CHOICES ) . get ( render_type , '' ) #NEWLINE# return format_html ( pgettext_lazy ( 'get_identifier' , 'as {}' ) , instance )