Updates attributes of this class with attributes from `config_dict`. Args: :obj:`Dict[str, any]`: Dictionary of attributes that shall be updated for this class.
(self, config_dict: Dict)
| 397 | writer.write(self.to_json_string(use_diff=use_diff)) |
| 398 | |
| 399 | def update(self, config_dict: Dict): |
| 400 | """ |
| 401 | Updates attributes of this class |
| 402 | with attributes from `config_dict`. |
| 403 | |
| 404 | Args: |
| 405 | :obj:`Dict[str, any]`: Dictionary of attributes that shall be updated for this class. |
| 406 | """ |
| 407 | for key, value in config_dict.items(): |
| 408 | setattr(self, key, value) |
no test coverage detected