SourceUnion#
- class SourceUnion(*args, **kwargs)#
Bases:
_SourceMix[T_ModSource]Sources are the union of that obtained by multiple modules.
Pass the different source modules to “combine” to
SourceUnion.create()which will return a new module class. As so:MyUnion = SourceUnion.create([Source1, Source2])
The union module will output all the files found by any of the initial modules, without duplicates, in the order of how the modules were given to
create.