def set_compression_codec(self, codec):
        if codec is None:
            codec = 'none'
        else:
            codec = codec.lower()

        if codec not in ('none', 'gzip', 'snappy'):
            raise ValueError('Unknown codec: {0}'.format(codec))

        self.set_options({'COMPRESSION_CODEC': codec})
Rename a member of enum - a symbolic constant
dataset/ETHPy150Open cloudera/ibis/ibis/impala/client.py/ImpalaClient.set_compression_codec--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SetConstName