def history(self, **kwargs):
url_str = self.base_url + '<STR_LIT>' % kwargs['<STR_LIT>']<EOL>del kwargs['<STR_LIT>']<EOL>if kwargs:<EOL><INDENT>url_str = url_str + '<STR_LIT>' % parse.urlencode(kwargs, True)<EOL><DEDENT>resp = self.client.list(url_str)<EOL>return resp['<STR_LIT>'] if type(resp) is dict else resp<EOL>
History of a specific alarm.