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

Method device

script.py:64–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62
63 @cached_property
64 def device(self) -> "Device":
65 try:
66 from module.device.device import Device
67 device = Device(config=self.config)
68 return device
69 except RequestHumanTakeover:
70 logger.critical('Request human takeover')
71 exit(1)
72 except Exception as e:
73 logger.exception(e)
74 exit(1)
75
76 @cached_property
77 def checker(self):

Callers

nothing calls this directly

Calls 1

DeviceClass · 0.90

Tested by

no test coverage detected