def _get_detail_column_list(self, column_name):
        column_list = []
        excluded_column_list = []
        virtual_column_list = []
        state = self.state
        # set priorities
        column_list_priorities = []
        excluded_column_list_priorities = []
        virtual_column_list_priorities = []
        if state == 'insert':
            column_list_priorities = [self.__detail_insert_column__, self.__detail_form_column__, self.__detail_shown_column__]
            excluded_column_list_priorities = [self.__detail_excluded_insert_column__, self.__detail_excluded_form_column__]
            virtual_column_list_priorities = [self.__detail_virtual_insert_column__, self.__detail_virtual_form_column__]
        elif state == 'update':
            column_list_priorities = [self.__detail_update_column__, self.__detail_form_column__, self.__detail_shown_column__]
            excluded_column_list_priorities = [self.__detail_excluded_update_column__, self.__detail_excluded_form_column__]
            virtual_column_list_priorities = [self.__detail_virtual_update_column__, self.__detail_virtual_form_column__]
        else:
            column_list_priorities = [self.__detail_shown_column__]
            excluded_column_list_priorities = [self.__detail_excluded_shown_column__]
            virtual_column_list_priorities = [self.__detail_virtual_shown_column__]
        # assign default value to column_list
        for config_list in column_list_priorities:
            if config_list in column_name and len(config_list[column_name]) > 0:
                column_list = config_list[column_name]
                break
        if len(column_list) == 0:
            obj = self._get_relation_class(column_name)()
            obj._set_state(state)
            column_list = obj._tabular_column_list
            # remove id from detail column
            if 'id' in column_list and len(column_list)>1:
                column_list.remove('id')
        # add virtual_columns
        for config_list in virtual_column_list_priorities:
            if column_name in config_list and len(config_list[column_name]) > 0:
                virtual_column_list = config_list[column_name]
                break
        column_list += virtual_column_list
        # remove excluded_columns
        for config_list in excluded_column_list_priorities:
            if column_name in config_list and len(config_list[column_name]) > 0:
                excluded_column_list = config_list[column_name]
                break
        for item in excluded_column_list:
            if item in column_list:
                column_list.remove(item)
        return column_list
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/model.py/DB_Model._get_detail_column_list/swapped operands of `in`