(self)
| 49 | |
| 50 | @cached_property |
| 51 | def config(self) -> "Config": |
| 52 | try: |
| 53 | from module.config.config import Config |
| 54 | config = Config(config_name=self.config_name) |
| 55 | return config |
| 56 | except RequestHumanTakeover: |
| 57 | logger.critical('Request human takeover') |
| 58 | exit(1) |
| 59 | except Exception as e: |
| 60 | logger.exception(e) |
| 61 | exit(1) |
| 62 | |
| 63 | @cached_property |
| 64 | def device(self) -> "Device": |