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

Method _onToolChange

src/astroprint/plugin/services/printer.py:491–492  ·  view source on GitHub ↗
(self,event,value)

Source from the content-addressed store, hash-verified

489 self.publishEvent('printer_state_changed', {"operational": False})
490
491 def _onToolChange(self,event,value):
492 self.publishEvent('printer_state_changed', {"tool": value})
493
494 def _onPrintingSpeedChange(self,event,value):
495 self.publishEvent('printer_state_changed', {"speed": value})

Callers

nothing calls this directly

Calls 1

publishEventMethod · 0.80

Tested by

no test coverage detected