def get_default_resource(self, name):
        if not self._default_resource:
            self._default_resource = self.get(name=name)

        return self._default_resource
Add cache if you use a default resource.
dataset/ETHPy150Open dgraziotin/dycapo/piston/managers.py/ResourceManager.get_default_resource