MCPcopy Create free account
hub / github.com/runhey/OnmyojiAutoScript / config

Method config

script.py:51–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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":

Callers

nothing calls this directly

Calls 1

ConfigClass · 0.90

Tested by

no test coverage detected