Test if the splitter applies to a given conflict (by key). :param key: Key of the conflicting field :param conflict: Conflict data :return: True if this splitter should be used on the conflict
(self, key: str, conflict: MergeConflict)
| 372 | |
| 373 | @abc.abstractmethod |
| 374 | def can_split(self, key: str, conflict: MergeConflict) -> bool: |
| 375 | """ |
| 376 | Test if the splitter applies to a given conflict (by key). |
| 377 | |
| 378 | :param key: Key of the conflicting field |
| 379 | :param conflict: Conflict data |
| 380 | :return: True if this splitter should be used on the conflict |
| 381 | """ |
| 382 | raise NotImplementedError("Not implemented") |
| 383 | |
| 384 | @abc.abstractmethod |
| 385 | def split(self, key: str, conflict: MergeConflict, result: KeyValueStore) -> Optional[Dict[str, MergeConflict]]: |