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

Method __init__

src/astroprint/printfiles/gcode.py:26–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

24 SUPPORTED_EXTENSIONS = ["gcode", "gco", "g"]
25
26 def __init__(self):
27 self._logger = logging.getLogger(__name__)
28 self._metadataAnalyzer = GcodeMetadataAnalyzer(getPathCallback=self.getAbsolutePath, loadedCallback=self._onMetadataAnalysisFinished)
29 super(PrintFileManagerGcode, self).__init__()
30
31class GcodeMetadataAnalyzer(MetadataAnalyzer):
32 def __init__(self, getPathCallback, loadedCallback):

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45

Tested by

no test coverage detected