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

Method getCurrentData

src/astroprint/printer/__init__.py:794–795  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

792 return currentData["job"]
793
794 def getCurrentData(self):
795 return self._stateMonitor.getCurrentData()
796
797 def refreshStateData(self):
798 self._stateMonitor.setState({"state": self._state, "text": self.getStateString(), "flags": self._getStateFlags()})

Callers 6

_processCommandMethod · 0.45
jobStateFunction · 0.45
addPhotoToTimelapseMethod · 0.45
getCurrentJobMethod · 0.45
printerStateFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected