code: def handle_items(repo, **kwargs):
      
      log.info('items: %s %s' %(repo, kwargs))
      if not hasattr(repo, 'items'):
          return []
      return [i.serialize() for i in repo.items(**kwargs)]
docs: :return: repo.files()