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

Function getCustomControls

src/astroprint/api/printer.py:420–423  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

418
419@api.route("/printer/command/custom", methods=["GET"])
420def getCustomControls():
421 # TODO: document me
422 customControls = settings().get(["controls"])
423 return jsonify(controls=customControls)
424
425
426def _getTemperatureData(filter):

Callers

nothing calls this directly

Calls 2

settingsFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected