Skip to content
Snippets Groups Projects

Extract io layer to writer/reader class

Merged Adham Hashibon requested to merge extract-io-layer into master
6 files
+ 11
12
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -12,9 +12,9 @@ class CSVExtractorBundle(HasStrictTraits):
def create_model(self, model_data=None):
if model_data is None:
return CSVExtractorModel()
else:
return CSVExtractorModel.from_json(model_data)
model_data = {}
return CSVExtractorModel(self, **model_data)
def create_data_source(self, application, model):
return CSVExtractorDataSource(self, application, model)
Loading