'Returns a list of PecanResourceExtension objects.'

def get_pecan_resources(self):

    resources = []
    for ext in self.extensions.values():
        resources.extend(ext.get_pecan_resources())
    return resources
