(self, attr)
| 85 | self.user_config = {} |
| 86 | |
| 87 | def __getattr__(self, attr): |
| 88 | if attr in self.user_config: |
| 89 | return self.user_config[attr] |
| 90 | if attr in self.default_config: |
| 91 | return self.default_config[attr] |
| 92 | raise AttributeError( |
| 93 | f"'{self.__class__.__name__}' object has no attribute '{attr}'" |
| 94 | ) |
| 95 | |
| 96 | def __setattr__(self, key, value): |
| 97 | if key in ["default_config", "user_config"]: |
nothing calls this directly
no outgoing calls
no test coverage detected