@classmethod
    def load(cls, name):

        s3 = current.response.s3
        if s3 is None:
            s3 = current.response.s3 = Storage()
        models = current.models

        if models is not None and hasattr(models, name):
            module = models.__dict__[name]
            for n in module.__all__:
                model = module.__dict__[n]
                if type(model).__name__ == "type" and \
                   issubclass(model, S3Model):
                    model(name)
                elif n.startswith("%s_" % name):
                    s3[n] = model
        return

    # -------------------------------------------------------------------------
Helper function to load a model by its name (=prefix)
dataset/ETHPy150Open sahana/eden/modules/s3/s3model.py/S3Model.load