Add beginning of database explorer

This commit is contained in:
Tulir Asokan 2018-12-27 21:31:32 +02:00
parent 0a39c1365d
commit dc22f35d08
16 changed files with 357 additions and 66 deletions

View file

@ -152,6 +152,13 @@ class _Response:
"errcode": "server_not_found",
}, status=HTTPStatus.NOT_FOUND)
@property
def plugin_has_no_database(self) -> web.Response:
return web.json_response({
"error": "Given plugin does not have a database",
"errcode": "plugin_has_no_database",
})
@property
def method_not_allowed(self) -> web.Response:
return web.json_response({