py_research.db.conflicts module#

Types and functions for data conflict management.

DataConflictPolicy#

Policy for handling data conflicts.

alias of Literal[‘raise’, ‘ignore’, ‘override’]

DataConflicts#

Conflicting values indexed by their location in a table.

alias of dict[tuple[str, str, str], tuple[Any, Any]]

exception DataConflictError(conflicts)[source]#

Bases: ValueError

Irreconsilable conflicts during import / merging of data.

Parameters:

conflicts (dict[tuple[str, str, str], tuple[Any, Any]]) –

Return type:

None