def check_atleast_one_connection(self, definition, connections, actor=None):
        retval = []
        for port, target, target_port, port_dir, actor in self.generate_ports(definition, actor):
            pc = [c for c in connections if c[target] == actor and c[target_port] == port]
            if len(pc) < 1:
                retval.append((port, port_dir, max(self.dbg_lines(connections))))
        return retval
Formats ModelWarnings as "Warning: message" without extra crud
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/csparser/checker.py/Checker.check_atleast_one_connection--crossover with--dataset/ETHPy150Open calliope-project/calliope/calliope/core.py/_formatwarning