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

Class StreamingGcodeFileInformation

src/astroprint/printer/marlin/comm.py:1780–1794  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1778 return None
1779
1780class StreamingGcodeFileInformation(PrintingGcodeFileInformation):
1781 def __init__(self, path, localFilename, remoteFilename):
1782 PrintingGcodeFileInformation.__init__(self, path, None)
1783 self._localFilename = localFilename
1784 self._remoteFilename = remoteFilename
1785
1786 def start(self):
1787 PrintingGcodeFileInformation.start(self)
1788 self._startTime = time.time()
1789
1790 def getLocalFilename(self):
1791 return self._localFilename
1792
1793 def getRemoteFilename(self):
1794 return self._remoteFilename

Callers 1

startFileTransferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected