# -*- coding:utf-8 -*- from configparser import ConfigParser from dw_base.datax.plugins.plugin import Plugin class Reader(Plugin): def __init__(self, base_dir: str, config_parser: ConfigParser, start_date: str = None, stop_date: str = None): super(Reader, self).__init__(base_dir, config_parser, start_date, stop_date) self.plugin_type = 'reader' def load_others(self): raise NotImplementedError('please implement this method in a specified reader.')