From ed602a8abcb2edc6a614708f67a7e6cc8c0e1581 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Mon, 3 Jun 2024 00:02:05 +0200 Subject: [PATCH] Continue Flask migration. --- thermostat.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/thermostat.py b/thermostat.py index 9829fe7..7a511ca 100644 --- a/thermostat.py +++ b/thermostat.py @@ -218,13 +218,10 @@ class Set_verbosity_thermostat(Resource): @auth_required @api.expect(Set_verbosity_model, validate=True) @api.marshal_with(Set_verbosity_model) - def put(self, value): + def put(self): print(api.payload) - print(value) return "OK", 201 - - api.add_namespace(ns_thermostat) with app.app_context(): db.create_all()