)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"722515d742850da0ef85b8fbef8d275a46b58f73","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":5,"id":"be8f533e_cf4a8c03","updated":"2022-01-04 22:26:56.000000000","message":"recheck","commit_id":"ab1c81aba0d120047f46547d7ab5319ed3a906c3"}],"subunit2sql/db/api.py":[{"author":{"_account_id":1921,"name":"Andrea Frittoli","email":"andrea.frittoli@gmail.com","username":"andrea-frittoli"},"change_message_id":"65be7e8fd44207d2402256aed38314f39187fcde","unresolved":false,"context_lines":[{"line_number":1887,"context_line":""},{"line_number":1888,"context_line":""},{"line_number":1889,"context_line":"def migrate_run_metadata(key, dest_col, session\u003dNone):"},{"line_number":1890,"context_line":"    \"\"\"Move all values for a run_meta key to metadata column on the runs table"},{"line_number":1891,"context_line":""},{"line_number":1892,"context_line":"    The values for the run_metadata key will be migrated to the corresponding"},{"line_number":1893,"context_line":"    row in the runs table for the column provided. All rows in run_metadata"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba2be162_972e00a3","line":1890,"range":{"start_line":1890,"start_character":7,"end_line":1890,"end_character":11},"updated":"2017-03-06 12:05:25.000000000","message":"I wonder if we should not provide first a way for our existing API to work with the data in the new columns.\nIf the migration is applied to a database, that metadata will become basically invisible expect for direct SQL queries.","commit_id":"10f2d6dd89d6356ae83a7e5d7e9304e87f051f8c"},{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"c37a6370a8e76e4104784eb8c9b820594966f65f","unresolved":false,"context_lines":[{"line_number":1887,"context_line":""},{"line_number":1888,"context_line":""},{"line_number":1889,"context_line":"def migrate_run_metadata(key, dest_col, session\u003dNone):"},{"line_number":1890,"context_line":"    \"\"\"Move all values for a run_meta key to metadata column on the runs table"},{"line_number":1891,"context_line":""},{"line_number":1892,"context_line":"    The values for the run_metadata key will be migrated to the corresponding"},{"line_number":1893,"context_line":"    row in the runs table for the column provided. All rows in run_metadata"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba2be162_49114851","line":1890,"range":{"start_line":1890,"start_character":7,"end_line":1890,"end_character":11},"in_reply_to":"ba2be162_972e00a3","updated":"2017-03-06 14:50:31.000000000","message":"Adding DB API functionality to use the columns was going to be something I did in a follow up patch. Honestly all they\u0027ll be will be get_with_filter_foo() functions.","commit_id":"10f2d6dd89d6356ae83a7e5d7e9304e87f051f8c"},{"author":{"_account_id":20378,"name":"Trevor McCasland","email":"TM2086@att.com","username":"twm2016"},"change_message_id":"ba9ecae8d19008cad6a67563b4347a826ae89d49","unresolved":false,"context_lines":[{"line_number":1953,"context_line":"    :param session: Optional session object if one isn\u0027t provided a new session"},{"line_number":1954,"context_line":"                    will be acquired for the duration of this operation"},{"line_number":1955,"context_line":"    \"\"\""},{"line_number":1956,"context_line":"    if dest_col not in [\u0027run_name\u0027, \u0027run_type\u0027, \u0027project\u0027]:"},{"line_number":1957,"context_line":"        msg \u003d \"Destination Column %s is invalid. Must be either \u0027run_name\u0027, \""},{"line_number":1958,"context_line":"        msg +\u003d \"\u0027run_type\u0027, or \u0027project\u0027\""},{"line_number":1959,"context_line":"        raise TypeError(msg)"}],"source_content_type":"text/x-python","patch_set":5,"id":"9f91af0f_3877743d","line":1956,"range":{"start_line":1956,"start_character":23,"end_line":1956,"end_character":58},"updated":"2018-01-02 16:51:36.000000000","message":"what\u0027s wrong with adding an arbitrary key?","commit_id":"ab1c81aba0d120047f46547d7ab5319ed3a906c3"}]}
