)]}'
{"manila/api/views/types.py":[{"author":{"_account_id":26968,"name":"Amit O","email":"oamit.work@gmail.com","username":"amito"},"change_message_id":"777c34457431b4c30c4d6d97ace8121c5874d550","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    def share_type_access(self, request, share_type):"},{"line_number":92,"context_line":"        \"\"\"Return a dictionary view of the projects with access to type.\"\"\""},{"line_number":93,"context_line":"        projects \u003d []"},{"line_number":94,"context_line":"        for project_id in share_type[\u0027projects\u0027]:"},{"line_number":95,"context_line":"            projects.append("},{"line_number":96,"context_line":"                {\u0027share_type_id\u0027: share_type[\u0027id\u0027], \u0027project_id\u0027: project_id}"},{"line_number":97,"context_line":"            )"},{"line_number":98,"context_line":"        return {\u0027share_type_access\u0027: projects}"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    def _filter_extra_specs(self, extra_specs, valid_keys):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_3f62f0ae","line":97,"range":{"start_line":94,"start_character":8,"end_line":97,"end_character":13},"updated":"2018-06-18 15:18:49.000000000","message":"This can become a neat list comprehension:\nprojects \u003d [{\u0027share_type_id\u0027: share_type[\u0027id\u0027], \u0027project_id\u0027: project_id} for project_id in share_type[\u0027projects\u0027]]","commit_id":"02feec1d77012419cafdeaafeeea0d842dfc0543"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"75f1fdaa809477d6fe56fd41fd16fcbb9e6b012c","unresolved":false,"context_lines":[{"line_number":91,"context_line":"    def share_type_access(self, request, share_type):"},{"line_number":92,"context_line":"        \"\"\"Return a dictionary view of the projects with access to type.\"\"\""},{"line_number":93,"context_line":"        projects \u003d []"},{"line_number":94,"context_line":"        for project_id in share_type[\u0027projects\u0027]:"},{"line_number":95,"context_line":"            projects.append("},{"line_number":96,"context_line":"                {\u0027share_type_id\u0027: share_type[\u0027id\u0027], \u0027project_id\u0027: project_id}"},{"line_number":97,"context_line":"            )"},{"line_number":98,"context_line":"        return {\u0027share_type_access\u0027: projects}"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    def _filter_extra_specs(self, extra_specs, valid_keys):"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f7c97a3_15cfd5b3","line":97,"range":{"start_line":94,"start_character":8,"end_line":97,"end_character":13},"in_reply_to":"5f7c97a3_3f62f0ae","updated":"2018-06-18 16:33:43.000000000","message":"I don\u0027t think readability changes much, but it does save us a line. Done","commit_id":"02feec1d77012419cafdeaafeeea0d842dfc0543"}]}
