

@property
def attributes(self):
    '\n        Returns a dictionary of initial state data for sorting, sort direction, and visibility.\n\n        The default attributes include ``data-config-sortable``, ``data-config-visible``, and (if\n        applicable) ``data-config-sorting`` to hold information about the initial sorting state.\n        '
    attributes = {
        'data-config-sortable': ('true' if self.sortable else 'false'),
        'data-config-visible': ('true' if self.visible else 'false'),
    }
    if (self.sort_priority is not None):
        attributes['data-config-sorting'] = ','.join(map(six.text_type, [attributes.sort_priority, self.index, self.sort_direction]))
    return flatatt(attributes)

dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/columns.py Column.attributes/VarMisuse@75/203 `self`->`attributes`