fault_injector.injector module
fault injector class
- class fault_injector.injector.Injector(fault, params: dict = None)[source]
Bases:
objectClass designed to help generate and inject faults into data
- Parameters:
fault – _description_
params (dict, optional) – params should include the start and stop keys. These values default to: - start (int): this corresponds to the starting index for the fault. defaults to 0. - stop (int): this corresponds to the ending index for the fault. defaults to -1.