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

Function deleteBed

src/astroprint/api/printer.py:128–133  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

126@api.route("/printer/tool", methods=["GET"])
127def printerToolState():
128 def deleteBed(x):
129 data = dict(x)
130
131 if "bed" in data.keys():
132 del data["bed"]
133 return data
134
135 return jsonify(_getTemperatureData(deleteBed))
136

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected