mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 05:39:30 +08:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user