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)]
:return: repo.files()
dataset/ETHPy150Open rsgalloway/grit/grit/server/handler.py/handle_items