)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8726,"name":"Victor Morales","email":"chipahuac@hotmail.com","username":"electrocucaracha"},"change_message_id":"31a351d80ec2fc1f006f73261df35cc77978f529","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Allow Agent object to be queryable by dict\u0027s key field"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This Patchset allows Agent to do query like this:"},{"line_number":10,"context_line":"agent.Agent.get_objects_by_dict_field_key("},{"line_number":11,"context_line":"            \u0027resource_versions\u0027, \u0027obj1\u0027, self.context)[0]"},{"line_number":12,"context_line":"And this is needed by lots of Agent\u0027s unittests"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a430d35_e27efe17","line":10,"range":{"start_line":10,"start_character":12,"end_line":10,"end_character":41},"updated":"2017-02-07 15:14:32.000000000","message":"shouldn\u0027t be better to support this case in the current get_objects method instead of creating a new one?","commit_id":"6ce0aa51d07c659c568118eba42483ff8e580f5b"},{"author":{"_account_id":12906,"name":"tonytan4ever","email":"tony.tan@rackspace.com","username":"tonytan4ever"},"change_message_id":"8d429df6e94cb4ebea2d340255c3b281a7cbce80","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Allow Agent object to be queryable by dict\u0027s key field"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This Patchset allows Agent to do query like this:"},{"line_number":10,"context_line":"agent.Agent.get_objects_by_dict_field_key("},{"line_number":11,"context_line":"            \u0027resource_versions\u0027, \u0027obj1\u0027, self.context)[0]"},{"line_number":12,"context_line":"And this is needed by lots of Agent\u0027s unittests"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa31d9ce_903fb524","line":10,"range":{"start_line":10,"start_character":12,"end_line":10,"end_character":41},"in_reply_to":"1a430d35_e27efe17","updated":"2017-02-10 15:38:05.000000000","message":"This is because Agent\u0027s resource_versions and configurations are of \"dict\" (well, technically common_types.DictOfMiscValuesField field),  and they need support of querying by key of dict.\n\nAlso, since sqlalchemy\u0027s DB field for those dict field are StringField, and Ihar has indicated that\u0027s only going to be one case,  it can be implemented using other types of DB fields.  So query by string-Like is only one type of implementation and needs to be separated out here.","commit_id":"6ce0aa51d07c659c568118eba42483ff8e580f5b"}]}
