NotImplementedError execption in not define endpoint

This commit is contained in:
vincent 2021-06-13 21:04:19 +02:00
parent 233324f5a2
commit 35621d42f9

View File

@ -92,14 +92,14 @@ def get_appointment_by_ticket(id):
@api.route("/appointment", methods=["POST"]) @api.route("/appointment", methods=["POST"])
def new_appointment(): def new_appointment():
pass raise NotImplementedError
@api.route("/appointment", methods=["PUT"]) @api.route("/appointment", methods=["PUT"])
def update_appointment(): def update_appointment():
pass raise NotImplementedError
@api.route("/appointment", methods=["DELETE"]) @api.route("/appointment", methods=["DELETE"])
def delete_appointment(): def delete_appointment():
pass raise NotImplementedError