From ee517d76c48bcca99b8404f43a6f0ada9af6bfd8 Mon Sep 17 00:00:00 2001 From: JonnyDaenen Date: Fri, 29 Dec 2017 20:15:32 +0100 Subject: [PATCH] Support flask injector v0.13 keyword arguments to the annotation are not supported anymore. The type specification in the arguments is enough. --- api/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/room.py b/api/room.py index 7ead52b..5bd927d 100644 --- a/api/room.py +++ b/api/room.py @@ -6,7 +6,7 @@ class Room(object): - @inject(indexer=ElasticSearchIndex) + @inject def post(self, indexer: ElasticSearchIndex, room: dict) -> dict: """ This wil return a location, kind of 'Camden, London'.