MCPcopy Create free account
hub / github.com/LabPy/lantz / remote

Method remote

lantz/drivers/kentech/hri.py:79–87  ·  view source on GitHub ↗

Remote or local.

(self, value)

Source from the content-addressed store, hash-verified

77
78 @Feat(None, values={True, False})
79 def remote(self, value):
80 """Remote or local.
81 """
82 if value:
83 #self.query_expect('', None, None)
84 self.query_expect('\r', expected=None)
85 self.read()
86 else:
87 return self.query_expect('LOCAL', chr(0), None)
88
89 @Feat(read_once=True)
90 def revision(self):

Callers

nothing calls this directly

Calls 2

query_expectMethod · 0.95
readMethod · 0.45

Tested by

no test coverage detected