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

Method capabilities

src/astroprint/software.py:720–729  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

718 return None
719
720 def capabilities(self):
721 ppm = printerProfileManager()
722 capabilities = ['remotePrint', # Indicates whether this device supports starting a print job remotely
723 'multiExtruders', # Support for multiple extruders
724 'allowPrintFile', # Support for printing a printfile not belonging to any design
725 'acceptPrintJobId' # Accept created print job from cloud,
726 ]
727 if ppm.data['check_clear_bed']:
728 capabilities.append('cleanState') # Support bed not clean state
729 return capabilities

Callers 1

getStatusFunction · 0.45

Calls 2

printerProfileManagerFunction · 0.90
appendMethod · 0.80

Tested by

no test coverage detected