code: def fetch_all(self, api_client, fetchstatuslogger, q, targets):
          '''
          Make all API calls as defined in metadata.json
  
          :param api_client:
          :param fetchstatuslogger:
          :param q:
          :param targets:
          :return:
          '''
          self.fetchstatuslogger = fetchstatuslogger
          if targets != None:
              # Ensure targets is a tuple
              if type(targets) != list and type(targets) != tuple:
                  targets = tuple(targets,)
              elif type(targets) != tuple:
                  targets = tuple(targets)
          for target in targets:
              self._fetch_targets(api_client, q, targetf fetch_all(self, api_client, fetchstatuslogger, q, targets):
          '''
          Make all API calls as defined in metadata.json
  
          :param api_client:
          :param fetchstatuslogger:
          :param q:
          :param targets:
          :return:
          '''
          self.fetchstatuslogger = fetchstatuslogger
          if targets != None:
              # Ensure targets is a tuple
              if type(targets) != list and type(targets) != tuple:
                  targets = tuple(targets,)
              elif type(targets) != tuple:
                  targets = tuple(targets)
          for target in targets:
              self._fetch_targets(api_client, q, target)
docs: Make all API calls as defined in metadata.json
  
          :param api_client:
          :param fetchstatuslogger:
          :param q:
          :param targets:
          :return: