#NEWLINE# def __init__( self , collection , cursor_info , conn_id , compile_re = True , retrieved = 0 ) : #NEWLINE# #INDENT# 'Create a new command cursor.\n        ' #NEWLINE# self . __collection = collection #NEWLINE# self . __id = cursor_info [ 'id' ] #NEWLINE# self . __conn_id = conn_id #NEWLINE# self . __data = deque ( cursor_info [ 'firstBatch' ] ) #NEWLINE# self . __decode_opts = ( collection . database . connection . document_class , collection . database . connection . tz_aware , collection . uuid_subtype , compile_re ) #NEWLINE# self . __retrieved = retrieved #NEWLINE# self . __batch_size = 0 #NEWLINE# self . __killed = False