class PSView(ModelView): datamodel = GenericInterface(PSModel, sess) base_permissions = ["can_list", "can_show"] list_columns = ["UID", "C", "CMD", "TIME"] search_columns = ["UID", "C", "CMD"]
class PSView(ModelView): datamodel = GenericInterface(PSModel, sess) base_permissions = ['can_list', 'can_show'] list_columns = ['UID', 'C', 'CMD', 'TIME'] search_columns = ['UID', 'C', 'CMD']