def get(self, id=None, **kwargs):
if id is not None:<EOL><INDENT>return self._get('<STR_LIT>' % id, data=kwargs)<EOL><DEDENT>elif '<STR_LIT>' in kwargs:<EOL><INDENT>data = dict(kwargs)<EOL>params = data.pop('<STR_LIT>')<EOL>return self._get('<STR_LIT>', data=data, params=params)<EOL><DEDENT>else:<EOL><INDENT>return self._get('<STR_LIT>', data=kwargs)<EOL><DEDENT>
https://docs.cachethq.io/docs/get-incidents
https://docs.cachethq.io/docs/get-an-incident