

def __init__(self, mod, filename):
    self.mod = mod
    self.filename = filename
    self.validators = []
    self.runners = []
    self.runner_name = None
    for name in dir(self.mod):
        obj = getattr(mod.mod, name)
        type = getattr(obj, 'scent_api_type', None)
        if (type == 'runnable'):
            self.runners.append(obj)
        elif (type == 'file_validator'):
            self.validators.append(obj)
    self.runners = tuple(self.runners)
    self.validators = tuple(self.validators)

dataset/ETHPy150Open jeffh/sniffer/sniffer/scent_picker.py ScentModule.__init__/VarMisuse@62/67 `self`->`mod`