#NEWLINE# def get_latest_cursor( self ) : #NEWLINE# #INDENT# cursor = self . account . events . latest_cursor ( ) #NEWLINE# if isinstance ( cursor , dict ) : #NEWLINE# #INDENT# raise self . failureException ( ( 'Unable to get latest cursor: %s' % cursor ) ) #NEWLINE# #UNINDENT# return cursor