#NEWLINE# def range( self , start , end ) : #NEWLINE# #INDENT# 'Return a range of events\n\n        Args:\n            start: Start index to return from.\n            end: End index to return to.\n\n        Both start and end are inclusive.\n        ' #NEWLINE# return self . redis_conn . zrange ( ( 'data_%s' % ( start . cat_id , ) ) , start , end )