def generator_instance(self): if self.is_custom: return CustomGenerator(self) else: return BingoGenerator.instance(self.name)
def generator_instance(self): from bingosync.generators import BingoGenerator, CustomGenerator if self.is_custom: return CustomGenerator(self) else: return BingoGenerator.instance(self.name)