def _update_config(self, new_dict):

        invalid_dict = {}
        for k, v in new_dict.items():
            if (self.key_type is not None and type(k) is not self.key_type) or \
                    (self.value_type is not None and type(v) is not self.value_type):
                invalid_dict[k] = v
        if invalid_dict:
            raise ValueError("new dict contains invalid items: %s" % str(invalid_dict))

        return self.zk_config_manager.update_zk(json.dumps(self._get_dict(), sort_keys=True),
                                                json.dumps(new_dict, sort_keys=True),
                                                self.force_config_update)
Create a Rect with the bottom-left corner at (x, y) and
dataset/ETHPy150Open pinterest/kingpin/kingpin/manageddata/managed_datastructures.py/ManagedHashMap._update_config--crossover with--dataset/ETHPy150Open los-cocos/cocos/cocos/rect.py/Rect.__init__