(lcol, rcol, rref, prio, meta)
| 622 | conds, found_conds = [], set() |
| 623 | |
| 624 | def add_cond(lcol, rcol, rref, prio, meta): |
| 625 | prefix = '' if suggestion.parent else ltbl.ref + '.' |
| 626 | case = self.case |
| 627 | cond = prefix + case(lcol) + ' = ' + rref + '.' + case(rcol) |
| 628 | if cond not in found_conds: |
| 629 | found_conds.add(cond) |
| 630 | conds.append(Candidate(cond, prio + ref_prio[rref], meta)) |
| 631 | |
| 632 | def list_dict(pairs): # Turns [(a, b), (a, c)] into {a: [b, c]} |
| 633 | d = defaultdict(list) |
nothing calls this directly
no test coverage detected