restructure get_status api return
Bug #1399003 reported by
Aaron Rosen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
congress |
Fix Released
|
Undecided
|
Samta Rangare |
Bug Description
currently the get datasource status returns data structured like this:
{u'results': [{u'key': u'initialized', u'value': u'True'}, {u'key': u'last_error', u'value': u'None'}, {u'key': u'last_updated', u'value': u'2014-12-03 14:06:16.313310'}, {u'key': u'number_
Having the 'key', 'value' attributes here don't really add anything. Instead we should restructure the response to look like this:
{u'results': [{ u'initialized': u'True', u'last_error': u'None', 'last_updated': u'2014-12-03 14:06:16.313310', 'number_
Changed in congress: | |
assignee: | nobody → Samta Rangare (srangare) |
Changed in congress: | |
status: | New → In Progress |
Changed in congress: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/stackforge/ congress/ blob/master/ congress/ api/status_ model.py# L78
Fix needs to be made there.