Add SingleEntityHandler stub

This commit is contained in:
Stefan Haun 2020-09-28 00:07:29 +02:00
parent 3c2ba96e05
commit 721b9dabef

12
app.py
View file

@ -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([