#NEWLINE# def default_cell_formatter( table , column , row , value ) : #NEWLINE# #INDENT# '\n    :type column: tri.table.BoundColumn\n    ' #NEWLINE# formatter = _cell_formatters . get ( type ( value ) ) #NEWLINE# if formatter : #NEWLINE# #INDENT# value = formatter ( table = table , column = column , row = row , value = value ) #NEWLINE# #UNINDENT# if ( value is None ) : #NEWLINE# #INDENT# return '' #NEWLINE# #UNINDENT# return conditional_escape ( value )