def __init__(self, comp_def):
        super(CompInternalsViz, self).__init__(comp_def)
        self.name = comp_def['name']
        self.inpads = [PadViz(p, 'in') for p in comp_def['inports']]
        self.outpads = [PadViz(p, 'out') for p in comp_def['outports']]
        self.padlinks = [LinkViz(link) for link in comp_def['structure']['connections'] if link['src'] == '.' or link['dst'] not in '.']
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/Tools/csviz.py/CompInternalsViz.__init__/operator `==` -> `not in`