def to_factor(self):
        return Factor(self.variables, self.cardinality, self.values)
>>> driver = DummyDNSDriver('key', 'secret')
dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/factors/JointProbabilityDistribution.py/JointProbabilityDistribution.to_factor--crossover with--dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/dummy.py/DummyDNSDriver.list_records