(self, label)
| 217 | return self |
| 218 | |
| 219 | def destination(self, label): |
| 220 | assert ( |
| 221 | self._relations |
| 222 | ), "Found empty relation, maybe you should use `source` first." |
| 223 | assert not self._relations[-1].destination, "An destination is already exists." |
| 224 | self._relations[-1] = self._relations[-1]._replace(destination=label) |
| 225 | return self |
| 226 | |
| 227 | @property |
| 228 | def relations(self) -> List[Relation]: |
no outgoing calls