@classmethod
    @serializable
    def aggregate(cls, pipeline=None, **kwargs):
        return list(cls.collection.aggregate(pipeline or [], **kwargs))
lookup material
dataset/ETHPy150Open lvieirajr/mongorest/mongorest/collection.py/Collection.aggregate--crossover with--dataset/ETHPy150Open xraypy/xraylarch/plugins/xray/materials.py/material_get