Skip to content

Commit

Permalink
Merge 123ca6e into 51972bb
Browse files Browse the repository at this point in the history
  • Loading branch information
roll committed May 28, 2019
2 parents 51972bb + 123ca6e commit e00e7e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datapackage_pipelines/lib/load.py
Expand Up @@ -20,8 +20,8 @@ def func(package):
def mark_streaming(_from):
def func(package):
for i in range(num_resources, len(package.pkg.resources)):
package.pkg.descriptor['resources'][i][PROP_STREAMING] = True
package.pkg.descriptor['resources'][i][PROP_STREAMED_FROM] = _from
package.pkg.descriptor['resources'][i].setdefault(PROP_STREAMING, True)
package.pkg.descriptor['resources'][i].setdefault(PROP_STREAMED_FROM, _from)
yield package.pkg
yield from package
return func
Expand Down

0 comments on commit e00e7e1

Please sign in to comment.