Skip to content

Commit

Permalink
0.0.8 cache processor, performance, load enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Sep 8, 2018
1 parent b01668a commit e57bbf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dataflows/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.7
0.0.8
8 changes: 5 additions & 3 deletions dataflows/processors/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ def process_datapackage(self, dp: Package):
self.path = os.path.basename(self.path)
else:
base_path = None
self.res = Resource(dict(path=self.path,
format=self.options['format'],
profile='tabular-data-resource'),
descriptor = dict(path=self.path,
profile='tabular-data-resource')
if 'format' in self.options:
descriptor['format'] = self.options['format']
self.res = Resource(descriptor,
base_path=base_path,
**self.options)
self.res.infer(confidence=1, limit=1000)
Expand Down

0 comments on commit e57bbf8

Please sign in to comment.