MAINT: Pass through asset instead of sid.

When dispatching to sub readers in dispatch reader, pass along the asset
object, instead of extracting the sid.

The in development reader for continuous futures values besides `sid`
are needed from the `ContinuousFuture` object.
This commit is contained in:
Eddie Hebert
2016-10-04 14:39:23 -04:00
parent 1753a1ca3b
commit 5d9d9a97f5
+1 -1
View File
@@ -96,7 +96,7 @@ class AssetDispatchBarReader(with_metaclass(ABCMeta)):
for i, asset in enumerate(assets):
t = type(asset)
sid_groups[t].append(asset.sid)
sid_groups[t].append(asset)
out_pos[t].append(i)
batched_arrays = {