)]}'
{"rally/cli/commands/task.py":[{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"f8dadf74d719ba728d4cf047e6fb6c80a0136721","unresolved":false,"context_lines":[{"line_number":993,"context_line":"        \"\"\"Export task results to the custom task\u0027s exporting system.\"\"\""},{"line_number":994,"context_line":""},{"line_number":995,"context_line":"        if deployment is not None:"},{"line_number":996,"context_line":"            tasks \u003d api.task.list(deployment\u003ddeployment)"},{"line_number":997,"context_line":"            tasks \u003d [task[\"uuid\"] for task in tasks]"},{"line_number":998,"context_line":"        else:"},{"line_number":999,"context_line":"            tasks \u003d isinstance(tasks, list) and tasks or [tasks]"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_e67eaa19","line":996,"range":{"start_line":996,"start_character":0,"end_line":996,"end_character":56},"updated":"2018-10-02 14:12:51.000000000","message":"please extend a db method `task_list` with an argument for loading only uuid of task. It should speed up grepping in case of big database.\n\nHere is an example of loading only one field: https://github.com/openstack/rally/blob/master/rally/common/db/api.py#L207","commit_id":"24ca0d0381a76208e6230eb35ffa6a45414b8ed8"}],"rally/common/db/api.py":[{"author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"change_message_id":"a2cc5e5f6ecbfdf1937e9f17e2e5ed1da3833992","unresolved":false,"context_lines":[{"line_number":310,"context_line":""},{"line_number":311,"context_line":"    for task in query.all():"},{"line_number":312,"context_line":"        task \u003d task.as_dict()"},{"line_number":313,"context_line":"        task[\"tags\"] \u003d sorted(tags_get(task[\"uuid\"], consts.TagType.TASK))"},{"line_number":314,"context_line":"        tasks.append(task)"},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"    return tasks"}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_74ca2b4f","line":313,"range":{"start_line":313,"start_character":8,"end_line":313,"end_character":74},"updated":"2018-10-03 11:05:54.000000000","message":"in case of uuid_only we do not need to grep tags","commit_id":"facb0b6e226c5452952f28f613fdf4f5e9f56e7b"}]}
