@encoding.setter
    def encoding(self, value):
        try:
            self._encoding = dict(value)
        except __HOLE__:
            raise ValueError('encoding must be castable to a dictionary')
dataset/ETHPy150Open pydata/xarray/xarray/core/variable.py/Variable.encoding