

def json(self):
    variant = ('RFC' if (capa.ID == Capability.CODE.MULTISESSION) else 'Cisco')
    return ('{ "name": "multisession", "variant": "%s" ,"capabilities": [%s ] }' % (variant, ','.join(((' %s' % str(capa)) for capa in self))))

dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/bgp/message/open/capability/ms.py MultiSession.json/VarMisuse@16/19 `self`->`capa`