Closed marc-portier closed 3 years ago
work involved inside sources.py
os.path.isdir()
so to defer to the new FolderSource__iter__()
and __next__()
) and _enter__()
and __exit()__
)note: when reusing the different XXXFileSource
implementations be aware that those too all return iterators (through arrays or over wrapped struct objects) - so the overal iteration over the folder of these should simply behave as a concatenation of all those lists --> after ending the iteration in one, we should simply go over to the next
content for one set could actually be coming from a folder of similar json or xml files that all capture 1 record
typical case: dump of *json files from e.g. IMIS
processing these all in one go as one 'set' seems needed