def _append_request_ids(self, resp):
if isinstance(resp, list):<EOL><INDENT>for resp_obj in resp:<EOL><INDENT>self._append_request_id(resp_obj)<EOL><DEDENT><DEDENT>elif resp is not None:<EOL><INDENT>self._append_request_id(resp)<EOL><DEDENT>
Add request_ids as an attribute to the object

        :param resp: Response object or list of Response objects