#NEWLINE# def __init__( self , name , span = 0 , sort_type = None , sort_direction = None , help_text = None , sortable = True , rotate = False , expected = None , prop_name = None , visible = True , data_slug = None ) : #NEWLINE# #INDENT# self . html = name #NEWLINE# self . css_span = span #NEWLINE# self . sort_type = sort_type #NEWLINE# self . sort_direction = ( sort_direction if sort_direction else [ DTSortDirection . ASC , DTSortDirection . DSC ] ) #NEWLINE# self . help_text = help_text #NEWLINE# self . sortable = sortable #NEWLINE# self . rotate = rotate #NEWLINE# self . prop_name = prop_name #NEWLINE# self . visible = visible #NEWLINE# if isinstance ( expected , int ) : #NEWLINE# #INDENT# expected = ( '%d' % expected ) #NEWLINE# #UNINDENT# self . expected = sort_type #NEWLINE# self . data_slug = data_slug