Copies this config into a new config object, making the changes given by new_config_dict.
(self, new_config_dict={})
| 72 | self.__setattr__(key, val) |
| 73 | |
| 74 | def copy(self, new_config_dict={}): |
| 75 | """ |
| 76 | Copies this config into a new config object, making |
| 77 | the changes given by new_config_dict. |
| 78 | """ |
| 79 | |
| 80 | ret = Config(vars(self)) |
| 81 | |
| 82 | for key, val in new_config_dict.items(): |
| 83 | ret.__setattr__(key, val) |
| 84 | |
| 85 | return ret |
| 86 | |
| 87 | def replace(self, new_config_dict): |
| 88 | """ |
no test coverage detected