)]}'
{"trove/extensions/mysql/models.py":[{"author":{"_account_id":9782,"name":"Morgan Jones","email":"morgan@tesora.com","username":"vgnbkr"},"change_message_id":"3295543dcad534f05c28ea471fb60792afc0d155","unresolved":false,"context_lines":[{"line_number":271,"context_line":"        model_schemas, _ \u003d cls.load_with_client(client, None, None, True)"},{"line_number":272,"context_line":"        for item in model_schemas:"},{"line_number":273,"context_line":"            if item.name \u003d\u003d schema_id:"},{"line_number":274,"context_line":"                return item"},{"line_number":275,"context_line":""},{"line_number":276,"context_line":"        return None"}],"source_content_type":"text/x-python","patch_set":1,"id":"da6895a0_cd5b6053","line":274,"updated":"2016-10-21 20:28:23.000000000","message":"I know there wouldn\u0027t generally be a lot of databases, but given that list_databases has a limit and marker paradigm, I don\u0027t think it\u0027s reasonable to get them all then break when you find the one you want.  Use a generator so you don\u0027t call to the guest any more that necessary.","commit_id":"2904993fc5e3b0fcf5edce727f6cc0d7e0aa4f63"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"b70ac52f82c61168d4cc69cdba285bdec3b6c4cb","unresolved":false,"context_lines":[{"line_number":264,"context_line":""},{"line_number":265,"context_line":"    @classmethod"},{"line_number":266,"context_line":"    def find(cls, context, instance_id, schema_id):"},{"line_number":267,"context_line":"        # Since that as of Ocata there is not database-show"},{"line_number":268,"context_line":"        # we need to search the whole list."},{"line_number":269,"context_line":"        load_and_verify(context, instance_id)"},{"line_number":270,"context_line":"        client \u003d create_guest_client(context, instance_id)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a77a97e_13affc81","line":267,"range":{"start_line":267,"start_character":10,"end_line":267,"end_character":59},"updated":"2016-11-16 18:22:20.000000000","message":"This is an awkward sentence, but I guess it can be fixed later. ;)","commit_id":"13b1fd9f84aa327e054d744ded99f8cd047a6b61"},{"author":{"_account_id":10215,"name":"Peter Stachowski","email":"peter@tesora.com","username":"peterstac"},"change_message_id":"b70ac52f82c61168d4cc69cdba285bdec3b6c4cb","unresolved":false,"context_lines":[{"line_number":265,"context_line":"    @classmethod"},{"line_number":266,"context_line":"    def find(cls, context, instance_id, schema_id):"},{"line_number":267,"context_line":"        # Since that as of Ocata there is not database-show"},{"line_number":268,"context_line":"        # we need to search the whole list."},{"line_number":269,"context_line":"        load_and_verify(context, instance_id)"},{"line_number":270,"context_line":"        client \u003d create_guest_client(context, instance_id)"},{"line_number":271,"context_line":"        model_schemas, _ \u003d cls.load_with_client(client, 1, schema_id, True)"}],"source_content_type":"text/x-python","patch_set":2,"id":"7a77a97e_1379bcf6","line":268,"range":{"start_line":268,"start_character":9,"end_line":268,"end_character":42},"updated":"2016-11-16 18:22:20.000000000","message":"Actually, from my read of the code we\u0027re not searching the entire list, we\u0027re requesting just one row and making sure we get it back.  Might be better to remove this comment altogether.","commit_id":"13b1fd9f84aa327e054d744ded99f8cd047a6b61"}]}
