SourceIntersection

SourceIntersection#

class SourceIntersection(*args, **kwargs)#

Bases: _SourceMix[T_ModSource]

Sources are the intersection of that obtained by multiple modules.

Pass the different source modules to “combine” to SourceIntersection.create() which will return a new module class. As so:

MyIntersection = SourceIntersection.create([Source1, Source2])

The intersection module will only output the files found by all of the initial modules.

_lines()#

Lines to show in DataManager repr (human readable).

Return type:

list[str]

get_source(_warn=True)#

Return source of data.

Not Implemented:

Implement in Module subclass

Parameters:

_warn (bool)

Return type:

list[Any]