base_importer.py 291 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 import abc from django.conf import settings class PluginDataImporter(object): def __init__(self): self.config = settings.COLAB_APPS.get(self.app_label, {}) @abc.abstractmethod def fetch_data(self): raise NotImplementedError('fetchData not yet implemented')