)]}'
{"ceilometer/objects/resource.py":[{"author":{"_account_id":8290,"name":"liusheng","email":"liusheng2048@gmail.com","username":"LiuSheng"},"change_message_id":"4f3ac36e7c81a18c5306d61780413de7b00257ac","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    @classmethod"},{"line_number":49,"context_line":"    def get_all(cls, *args, **kwargs):"},{"line_number":50,"context_line":"        return [cls._from_db_object(cls(), db_resource)"},{"line_number":51,"context_line":"                for db_resource in db_api().get_resources(*args, **kwargs)]"}],"source_content_type":"text/x-python","patch_set":3,"id":"3a50d1a3_6a1be7ca","line":51,"updated":"2015-07-22 13:40:05.000000000","message":"Be similar to others patch.\n\nthe db_api() method is used to get storage connection, in this list expression, every loop, the storage connection will need to be created repeatedly.","commit_id":"133ba77b8d50b4e4e0c4243c6a5f6464d0f40d84"}]}
