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

Function getAllowedFeatures

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

Source from the content-addressed store, hash-verified

501
502@api.route("/printer/allowed-features", methods=["GET"])
503def getAllowedFeatures():
504 return jsonify(printerManager().getAllowedFeatures())
505
506
507@api.route("/printer/execute-routine/<string:routine>", methods=["POST"])

Callers

nothing calls this directly

Calls 2

printerManagerFunction · 0.90
getAllowedFeaturesMethod · 0.45

Tested by

no test coverage detected