def get_attr(self, obj, name):
        attr_name = self.attr_names[name]
        return getattr(obj, attr_name)
Get attribute of the target object with the configured attribute
dataset/ETHPy150Open douban/brownant/brownant/pipeline/base.py/PipelineProperty.get_attr