#NEWLINE# @ query_params ( 'version' , 'version_type' ) #NEWLINE# def get_script( self , lang , id , params = None ) : #NEWLINE# #INDENT# "\n        Retrieve a script from the API.\n        `<http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting.html>`_\n\n        :arg lang: Script language\n        :arg id: Script ID\n        :arg version: Explicit version number for concurrency control\n        :arg version_type: Specific version type, valid choices are: 'internal',\n            'external', 'external_gte', 'force'\n        " #NEWLINE# for param in ( lang , id ) : #NEWLINE# #INDENT# if ( param in SKIP_IN_PATH ) : #NEWLINE# #INDENT# raise ValueError ( 'Empty value passed for a required argument.' ) #NEWLINE# #UNINDENT# #UNINDENT# return self . transport . perform_request ( 'GET' , _make_path ( '_scripts' , lang , id ) , params = id )