def merge(self, session, source_state, source_dict, dest_state,
              dest_dict, load, _recursive):
        if not self.instrument:
            return
        elif source_dict in self.key:
            value = source_dict[self.key]

            if not load:
                dest_dict[self.key] = value
            else:
                impl = dest_state.get_impl(self.key)
                impl.set(dest_state, dest_dict, value, None)
        elif dest_state.has_identity and self.key not in dest_dict:
            dest_state._expire_attributes(dest_dict, [self.key])
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/properties.py/ColumnProperty.merge/swapped operands of `in`