digraph inheritanceda05334464 { rankdir=LR; ratio=compress; fontsize=14; size="6.0, 8.0"; "BatteryRunner" [shape=ellipse,URL="#nibabel.batteryrunners.BatteryRunner",fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,fontsize=14,color=dodgerblue1,style=filled,height=0.75]; }
Class to run set of checks
Initialize instance from sequence of checks
| Parameters : | checks : sequence
|
|---|
Examples
>>> def chk(obj, fix=False): # minimal check
... return obj, Report()
>>> btrun = BatteryRunner((chk,))
Run checks, with fixes, on obj returning obj, reports
| Parameters : | obj : anything
|
|---|---|
| Returns : | obj : anything
reports : sequence
|
Run checks on obj returning reports
| Parameters : | obj : anything
|
|---|---|
| Returns : | reports : sequence
|