#NEWLINE# @ query_params ( 'flat_settings' , 'local' , 'master_timeout' ) #NEWLINE# def get_template( self , name = None , params = None ) : #NEWLINE# #INDENT# '\n        Retrieve an index template by its name.\n        `<http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html>`_\n\n        :arg name: The name of the template\n        :arg flat_settings: Return settings in flat format (default: false)\n        :arg local: Return local information, do not retrieve the state from\n            master node (default: false)\n        :arg master_timeout: Explicit operation timeout for connection to master\n            node\n        ' #NEWLINE# return self . transport . perform_request ( 'GET' , _make_path ( '_template' , name ) , params = name )