Add beginning of database explorer
This commit is contained in:
parent
0a39c1365d
commit
dc22f35d08
16 changed files with 357 additions and 66 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue