def driver(self): """ Return a Driver instance. open() is not required before this method. """ if self.dev: return Driver(pyf.fp_dev_get_driver(self.dev)) if self.dscv: return Driver(pyf.fp_dscv_dev_get_driver(self.dscv))
def get_driver(self): if self.dev: return Driver(pyf.fp_dev_get_driver(self.dev)) if self.dscv: return Driver(pyf.fp_dscv_dev_get_driver(self.dscv))