Add SingleEntityHandler stub
This commit is contained in:
parent
95961d4b7b
commit
309c0b50b1
1 changed files with 12 additions and 0 deletions
12
app.py
12
app.py
|
@ -97,6 +97,18 @@ class Oas3Handler(tornado.web.RequestHandler, metaclass=ABCMeta):
|
||||||
self.finish()
|
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, gitmgr=None):
|
def make_app(_auth_provider=None, gitmgr=None):
|
||||||
version_path = r"/v[0-9]"
|
version_path = r"/v[0-9]"
|
||||||
return tornado.web.Application([
|
return tornado.web.Application([
|
||||||
|
|
Loading…
Reference in a new issue