From 721b9dabefa8938009d4471903106257bdf36d8e Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Mon, 28 Sep 2020 00:07:29 +0200 Subject: [PATCH] Add SingleEntityHandler stub --- app.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app.py b/app.py index 5c880cf..3e0dd0e 100644 --- a/app.py +++ b/app.py @@ -89,6 +89,18 @@ class Oas3Handler(tornado.web.RequestHandler, metaclass=ABCMeta): self.finish() +class SingleEntityHandler(AuthenticatedHandler, metaclass=ABCMeta): + # noinspection PyAttributeOutsideInit + def initialize(self, auth_provider=None): + super().initialize(auth_provider) + + def post(self, identifier): + pass + + def get(self, identifier): + pass + + def make_app(auth_provider=None): version_path = r"/v[0-9]" return tornado.web.Application([