base.py 321 B

123456789101112131415
  1. from app.schemas.datax_json import DataXJsonParam, RWDataSource
  2. class ReaderBase:
  3. def __init__(self, ds: RWDataSource):
  4. self.ds = ds
  5. def build(self, param: DataXJsonParam):
  6. pass
  7. class WriterBase:
  8. def __init__(self, ds: RWDataSource):
  9. self.ds = ds
  10. def build(self):
  11. pass