(self)
| 1774 | return self._registry_get('action', action, action) |
| 1775 | |
| 1776 | def _get_handler(self): |
| 1777 | # determine function from conflict handler string |
| 1778 | handler_func_name = '_handle_conflict_%s' % self.conflict_handler |
| 1779 | try: |
| 1780 | return getattr(self, handler_func_name) |
| 1781 | except AttributeError: |
| 1782 | msg = f'invalid conflict_resolution value: {self.conflict_handler!r}' |
| 1783 | raise ValueError(msg) |
| 1784 | |
| 1785 | def _check_conflict(self, action): |
| 1786 |
no outgoing calls
no test coverage detected