

def format(self, event):
    eff = getattr(self, ('format_%s' % self.content_format), None)
    if (eff is None):
        eff = getattr(eff, 'format_json')
    return eff(event)

dataset/ETHPy150Open openstack/stacktach-winchester/winchester/pipeline_handler.py AtomPubHandler.format/VarMisuse@42/52 `self`->`eff`