Open martinpopel opened 2 years ago
Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman would like to use it). We should:
NotImplementedError
self._cluster._mentions.remove(self)
cluster._mentions
sort()
if self._bridging and new_cluster in self._bridging.targets: raise ValueError("Bridge cannot self-reference the same cluster")
Moving a mention from one cluster to another cluster is not supported yet (but it seems @dan-zeman would like to use it). We should:
NotImplementedError
in the setterself._cluster._mentions.remove(self)
cluster._mentions
should be always sorted (and if yes, add asort()
)if self._bridging and new_cluster in self._bridging.targets: raise ValueError("Bridge cannot self-reference the same cluster")