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

Function hasCameraProperties

src/astroprint/api/camera.py:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28@api.route("/camera/has-properties", methods=["GET"])
29@restricted_access
30def hasCameraProperties():
31 cm = cameraManager()
32
33 return jsonify({"hasCameraProperties": cm.hasCameraProperties()})
34
35@api.route("/camera/is-resolution-supported", methods=["GET"])
36@restricted_access

Callers

nothing calls this directly

Calls 2

cameraManagerFunction · 0.90
hasCameraPropertiesMethod · 0.45

Tested by

no test coverage detected