@property
    def header(self):
        default = {'type': 'checkbox'}
        general = self.attrs.get('input')
        specific = self.attrs.get('th__input')
        attrs = AttributeDict(default, **(specific or general or {}))
        return mark_safe('<input %s/>' % attrs.as_html())
dataset/ETHPy150Open bradleyayers/django-tables2/django_tables2/columns/checkboxcolumn.py/CheckBoxColumn.header/original