def _init_properties(self):
super(BaseCRUDView, self)._init_properties()<EOL>self.related_views = self.related_views or []<EOL>self._related_views = self._related_views or []<EOL>self.description_columns = self.description_columns or {}<EOL>self.validators_columns = self.validators_columns or {}<EOL>self.formatters_columns = self.formatters_columns or {}<EOL>self.add_form_extra_fields = self.add_form_extra_fields or {}<EOL>self.edit_form_extra_fields = self.edit_form_extra_fields or {}<EOL>self.show_exclude_columns = self.show_exclude_columns or []<EOL>self.add_exclude_columns = self.add_exclude_columns or []<EOL>self.edit_exclude_columns = self.edit_exclude_columns or []<EOL>list_cols = self.datamodel.get_user_columns_list()<EOL>self.list_columns = self.list_columns or [list_cols[<NUM_LIT:0>]]<EOL>self._gen_labels_columns(self.list_columns)<EOL>self.order_columns = (<EOL>self.order_columns or<EOL>self.datamodel.get_order_columns_list(list_columns=self.list_columns)<EOL>)<EOL>if self.show_fieldsets:<EOL><INDENT>self.show_columns = []<EOL>for fieldset_item in self.show_fieldsets:<EOL><INDENT>self.show_columns = self.show_columns + list(<EOL>fieldset_item[<NUM_LIT:1>].get("<STR_LIT>")<EOL>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if not self.show_columns:<EOL><INDENT>self.show_columns = [<EOL>x for x in list_cols if x not in self.show_exclude_columns<EOL>]<EOL><DEDENT><DEDENT>if self.add_fieldsets:<EOL><INDENT>self.add_columns = []<EOL>for fieldset_item in self.add_fieldsets:<EOL><INDENT>self.add_columns = self.add_columns + list(<EOL>fieldset_item[<NUM_LIT:1>].get("<STR_LIT>")<EOL>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if not self.add_columns:<EOL><INDENT>self.add_columns = [<EOL>x for x in list_cols if x not in self.add_exclude_columns<EOL>]<EOL><DEDENT><DEDENT>if self.edit_fieldsets:<EOL><INDENT>self.edit_columns = []<EOL>for fieldset_item in self.edit_fieldsets:<EOL><INDENT>self.edit_columns = self.edit_columns + list(<EOL>fieldset_item[<NUM_LIT:1>].get("<STR_LIT>")<EOL>)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if not self.edit_columns:<EOL><INDENT>self.edit_columns = [<EOL>x for x in list_cols if x not in self.edit_exclude_columns<EOL>]<EOL><DEDENT><DEDENT>
Init Properties