

def apply_method(self, r, **attr):
    '\n            Entry point for REST interface\n\n            @param r: the S3Request\n            @param attr: controller attributes\n        '
    if ('w' in r.get_vars):
        return self.ajax(r, **attr)
    else:
        return self.summary(r, **attr)

dataset/ETHPy150Open sahana/eden/modules/s3/s3summary.py S3Summary.apply_method/original