MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / getFeedbackControls

Method getFeedbackControls

src/octoprint/settings.py:369–373  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

367 return os.path.dirname(self._configfile)
368
369 def getFeedbackControls(self):
370 feedbackControls = []
371 for control in self.get(["controls"]):
372 feedbackControls.extend(self._getFeedbackControls(control))
373 return feedbackControls
374
375 def _getFeedbackControls(self, control=None):
376 if control["type"] == "feedback_command" or control["type"] == "feedback":

Callers

nothing calls this directly

Calls 2

getMethod · 0.95
_getFeedbackControlsMethod · 0.95

Tested by

no test coverage detected