)]}'
{"zaqar/queues/storage/redis/messages.py":[{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"9960c9ca5f893fdbc31ec32dfa09504efb7e4c79","unresolved":false,"context_lines":[{"line_number":113,"context_line":"    def _claim_ctrl(self):"},{"line_number":114,"context_line":"        return self.driver.claim_controller"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    def _index_messages(self, msgset_key, counter_key, message_ids):"},{"line_number":117,"context_line":"        # NOTE(kgriffs): A watch on a pipe could also be used to ensure"},{"line_number":118,"context_line":"        # messages are inserted in order, but that would be less efficient."},{"line_number":119,"context_line":"        func \u003d self._scripts[\u0027index_messages\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_abd58dba","line":116,"updated":"2014-10-01 08:53:13.000000000","message":"Can we `DRY` this up - perhaps in a follow up patch - with a method that gets the script name, args, etc and executes it? I guess this method could be added in the `Mixin` class.","commit_id":"1e1272de0dc3eed231ab4bbfb4045eb6ec3a90a1"},{"author":{"_account_id":6427,"name":"Kurt Griffiths","email":"kurt.griffiths@rackspace.com","username":"kgriffs"},"change_message_id":"498b5c650735f23f8acf53b11b89c3d93d5a8075","unresolved":false,"context_lines":[{"line_number":113,"context_line":"    def _claim_ctrl(self):"},{"line_number":114,"context_line":"        return self.driver.claim_controller"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"    def _index_messages(self, msgset_key, counter_key, message_ids):"},{"line_number":117,"context_line":"        # NOTE(kgriffs): A watch on a pipe could also be used to ensure"},{"line_number":118,"context_line":"        # messages are inserted in order, but that would be less efficient."},{"line_number":119,"context_line":"        func \u003d self._scripts[\u0027index_messages\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"baa201ad_fa5d8f16","line":116,"in_reply_to":"baa201ad_abd58dba","updated":"2014-10-01 17:31:35.000000000","message":"Interesting idea... I think it would be worth exploring some way to define the contract for calling the Lua script (perhaps in a special header comment in the script itself?) such that the python function could be auto-generated. In fact, it would be great to have that part of redis-py.","commit_id":"1e1272de0dc3eed231ab4bbfb4045eb6ec3a90a1"}]}
