#NEWLINE# def pipeline( self , commands ) : #NEWLINE# #INDENT# self . check_connection ( ) #NEWLINE# buf = bytearray ( ) #NEWLINE# for cmd in commands : #NEWLINE# #INDENT# encode_command ( buf , self ) #NEWLINE# #UNINDENT# return self . _channel . request ( buf , len ( commands ) ) . get ( )