def include_list(objs, method=None, **kwargs):
    try:
        s = get_object_serialization(objs[0], method)
    except __HOLE__:
        return []
    return [s.method(obj, **kwargs) for obj in objs]
dataset/ETHPy150Open fiam/wapi/serializers/__init__.py/include_list