def get_warmer(self, doc_types=None, indices=None, name=None, querystring_args=None):
name = name or '<STR_LIT>'<EOL>if not querystring_args:<EOL><INDENT>querystring_args = {}<EOL><DEDENT>doc_types_str = '<STR_LIT>'<EOL>if doc_types:<EOL><INDENT>doc_types_str = '<STR_LIT:/>' + '<STR_LIT:U+002C>'.join(doc_types)<EOL><DEDENT>path = '<STR_LIT>'.format('<STR_LIT:U+002C>'.join(indices), doc_types_str, name)<EOL>return self._send_request(method='<STR_LIT:GET>', path=path, params=querystring_args)<EOL>
Retrieve warmer

:param doc_types: list of document types
:param warmer: anything with ``serialize`` method or a dictionary
:param name: warmer name. If not provided, all warmers will be returned
:param querystring_args: additional arguments passed as GET params to ES