diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-25 11:29:58 +0200 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-25 11:29:58 +0200 |
commit | ac791cc31c2ead4f27063a960ae294304e16362d (patch) | |
tree | 05f8b12d457d8c404f811c8a25799f8ec78e5cfc /app/handlers/defconf.py | |
parent | 3f3a9b298ba258b455f5810cdd697c6b57e113f2 (diff) |
Handle aggregate, add more valid GET keys.
* Handle the aggregate query on the BaseHandler.
* Add more valid GET keys for job and defconfig.
* Fix a test.
Diffstat (limited to 'app/handlers/defconf.py')
-rw-r--r-- | app/handlers/defconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/handlers/defconf.py b/app/handlers/defconf.py index 912d618..8084e1f 100644 --- a/app/handlers/defconf.py +++ b/app/handlers/defconf.py @@ -37,7 +37,7 @@ class DefConfHandler(BaseHandler): def _valid_keys(self, method): valid_keys = { - 'GET': ['job', 'kernel', 'status'], + 'GET': ['job', 'kernel', 'status', 'job_id', 'created'], } return valid_keys.get(method, None) |