def default_cell_formatter(table, column, row, value, **_):
    """
    :type column: tri.table.Column
    """
    formatter = _cell_formatters.get(type(value))
    if formatter:
        value = formatter(table=table, column=column, row=row, value=value)

    if value is None:
        return ''

    return conditional_escape(value)
def default_cell_formatter ( table , column , row , value , ** _ ) : formatter = _cell_formatters . get ( type ( value ) ) if formatter : value = formatter ( table = table , column = column , row = row , value = value ) if value is None : return '' return conditional_escape ( value )
:type column: tri.table.Column