code: def _extract_response_chunks(self, all_responses, response_chunks, api_name):
          
          for response_chunk in response_chunks:
              if not isinstance(response_chunk, list):
                  response_chunk = [response_chunk]
              for response in response_chunk:
                  if not response:
                      continue
  
                  if self._cache:
                      self._cache.cache_value(api_name, response['resource'], response)
                  all_responses[response['resource']] = response
docs: Extracts and caches the responses from the response chunks in case
          of the responses for the requests containing multiple concatenated
          resources. Extracted responses are added to the already cached
          responses passed in the all_responses parameter.
  
          Args:
              all_responses: a list containing already cached responses.
              response_chunks: a list with response chunks.
              api_name: a string name of the API.