#NEWLINE# def __init__( self , service , handle , config , hs2_protocol_version , retries = 3 ) : #NEWLINE# #INDENT# self . service = service #NEWLINE# self . handle = handle #NEWLINE# self . config = config #NEWLINE# self . hs2_protocol_version = hs2_protocol_version #NEWLINE# if ( self not in TProtocolVersion . _VALUES_TO_NAMES ) : #NEWLINE# #INDENT# raise HiveServer2Error ( 'Got HiveServer2 version {0}; expected V1 - V6' . format ( hs2_protocol_version ) ) #NEWLINE# #UNINDENT# ThriftRPC . __init__ ( self , self . service . client , retries = retries )