peal.adaptors.adaptor_factory¶
Factory that resolves an adaptor specification into an Adaptor instance.
Adaptors are the repair methods of PEAL (CFKD, DiDAE, ClArC, GroupDRO, …).
get_adaptor accepts an already-built adaptor, a path to a yaml config or a
plain config dict, discovers every Adaptor subclass under peal/adaptors
and instantiates the one named by the adaptor_type config key.
Functions
Return an |