co3.differ module

class co3.differ.Differ(l_resource, r_resource)[source]

Bases: Generic

Compute diff sets (asymmetric exclusives and intersection) among Equatable transformations of results from SelectableResources.

__init__(l_resource, r_resource)[source]
diff(l_select_kwargs, r_select_kwargs)[source]
Return type:

tuple[dict[TypeVar(E, bound= Equatable), Any], dict[TypeVar(E, bound= Equatable), Any], dict[TypeVar(E, bound= Equatable), Any]]

abstract l_transform(item)[source]

Transform items from the left resource to the joint comparison space, i.e., an instance of type Equatable

Return type:

TypeVar(E, bound= Equatable)

abstract r_transform(item)[source]
Return type:

TypeVar(E, bound= Equatable)