#NEWLINE# def cancel_jobs( self , job_ids ) : #NEWLINE# #INDENT# job_ids = set ( job_ids ) #NEWLINE# self [ 'kestrel_client' ] . cancel_jobs ( job_ids ) #NEWLINE# if self . single_command : #NEWLINE# #INDENT# self . disconnect ( )