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

Method pulse

src/astroprint/software.py:53–56  ·  view source on GitHub ↗
(self, owner)

Source from the content-addressed store, hash-verified

51 self._logger = logging.getLogger(__name__)
52
53 def pulse(self, owner):
54 #self._logger.info( "Fetching depedencies progress [ %.2f %% ]" % ( ( float(self.current_items) / float(self.total_items) ) * 100 ) )
55 self._progressCb("deps_download", ( float(self.current_items) / float(self.total_items) ) )
56 return True
57
58 def done(self, item):
59 self._logger.info("[%s] fetched" % item.shortdesc)

Callers

nothing calls this directly

Calls 1

_progressCbMethod · 0.80

Tested by

no test coverage detected