def __init__(self, action, verbose_name=None, visible=lambda x: True,
                 classes='btn btn-default'):
        """
        :param verbose_name: Column human-readable name
        :param accessor: Function to access get data from the object
        :param visible: Function giving visibility flag for the given row
        :param action: Action to call
        :param classes: CSS classes to apply to the button
        """
        TableAction.creation_counter += 1
        self.creation_counter = TableAction.creation_counter
        self.verbose_name = verbose_name
        self.visible = visible
        self.action = action
        self.classes = classes
def __init__ ( self , action , verbose_name = None , visible = lambda x : True , classes = 'btn btn-default' ) : TableAction . creation_counter += 1 self . creation_counter = TableAction . creation_counter self . verbose_name = verbose_name self . visible = visible self . action = action self . classes = classes
:param verbose_name: Column human-readable name
        :param accessor: Function to access get data from the object
        :param visible: Function giving visibility flag for the given row
        :param action: Action to call
        :param classes: CSS classes to apply to the button