)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"ee13ce2c019e90c06e38cea5c41b82d21b47e100","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"d2c543aa_acefceeb","updated":"2023-03-27 15:06:00.000000000","message":"Seems trivial.","commit_id":"9668281a4e824cfe9d102514ef4131ae97036fa6"}],"placement/objects/allocation.py":[{"author":{"_account_id":7166,"name":"Sylvain Bauza","email":"sbauza@redhat.com","username":"sbauza"},"change_message_id":"ee13ce2c019e90c06e38cea5c41b82d21b47e100","unresolved":true,"context_lines":[{"line_number":264,"context_line":"        consumers.c.id.label(\"consumer_id\"),"},{"line_number":265,"context_line":"        consumers.c.generation.label(\"consumer_generation\"),"},{"line_number":266,"context_line":"        sql.func.coalesce("},{"line_number":267,"context_line":"            consumers.c.uuid, allocs.c.consumer_id).label(\"consumer_uuid\"),"},{"line_number":268,"context_line":"        projects.c.id.label(\"project_id\"),"},{"line_number":269,"context_line":"        projects.c.external_id.label(\"project_external_id\"),"},{"line_number":270,"context_line":"        users.c.id.label(\"user_id\"),"}],"source_content_type":"text/x-python","patch_set":1,"id":"cea217f6_d9460e7f","side":"PARENT","line":267,"range":{"start_line":267,"start_character":12,"end_line":267,"end_character":28},"updated":"2023-03-27 15:06:00.000000000","message":"FWIW, 5 years ago, the consumers table was added *after* the other tables, so technically we needed to support the fact that a consumers record might be missing.\nhttps://opendev.org/openstack/placement/commit/22476d6aa0d11fc31c60bba5901afdb3d07c0fe1\n\nNow, indeed we may remove this since all the services that update the Placement API now provide the consumers table.","commit_id":"1a6cc9af4af58a901a57b4e22727bfee1229342f"}]}
