Split a field conflict into any number of alternate conflicts. Note: Returned conflicts will also be checked for splitting, beware infinite loops! If this function raises, it will be treated as returning None :param key: Original conflicting field's key :param conflict: Original conflict
(self, key: str, conflict: MergeConflict, result: KeyValueStore)
| 383 | |
| 384 | @abc.abstractmethod |
| 385 | def split(self, key: str, conflict: MergeConflict, result: KeyValueStore) -> Optional[Dict[str, MergeConflict]]: |
| 386 | """ |
| 387 | Split a field conflict into any number of alternate conflicts. |
| 388 | Note: Returned conflicts will also be checked for splitting, beware infinite loops! |
| 389 | If this function raises, it will be treated as returning None |
| 390 | |
| 391 | :param key: Original conflicting field's key |
| 392 | :param conflict: Original conflict data |
| 393 | :param result: Kvs structure containing the result of all splits. You should use the original conflict's |
| 394 | success() function in most cases unless you specifically want to write a new key to this. |
| 395 | :return: A collection of conflicts into which the original conflict was split, or None if |
| 396 | this splitter cannot handle the conflict |
| 397 | """ |
| 398 | raise NotImplementedError("Not implemented") |
no outgoing calls
no test coverage detected