def retrieveValues(self, *args):

        res = {}
        for prop in args:
            fn = getattr(self, "get%s" % prop, None)
            if not fn:
                raise Exception("getter function for %s does not exist" % prop)
            res[prop] = fn()

        return res
use this function to obtain a dictionary of properties, as
dataset/ETHPy150Open anandology/pyjamas/library/gwt/ui/__init__.py/Applier.retrieveValues