Closed MuadDibVV closed 3 years ago
Hello, Thanks for your work.
Is it possible to add the reset function (I need it because my key is not enough table). In run.py 👍 ...
class Reset(Resource): def __init__(self, sm): self.machine = sm def get(self): machine.Reset(False) return {"status":200, "message": "Reset effectue"}, 200
... api.add_resource(Reset, '/reset', resource_class_args=[machine])
api.add_resource(Reset, '/reset', resource_class_args=[machine])
Thanks a lot
Hello, Thanks for your work.
Is it possible to add the reset function (I need it because my key is not enough table). In run.py 👍 ...
...
api.add_resource(Reset, '/reset', resource_class_args=[machine])
Thanks a lot