def METHOD_NAME(self, pre_set, post_set, src_locs, dest_locs, tag=None):
    if len(self.presynaptic.cell_types) > 1 or len(self.postsynaptic.cell_types) > 1:
        name = f"{self.name}_{pre_set.cell_type.name}_to_{post_set.cell_type.name}"
    else:
        name = self.name
    cs = self.scaffold.require_connectivity_set(
        pre_set.cell_type, post_set.cell_type, tag if tag is not None else name
    )
    cs.connect(pre_set, post_set, src_locs, dest_locs)