quantlab.dataset.sharadar.stores.StoreUpdate#
- class quantlab.dataset.sharadar.stores.StoreUpdate(stores=())[source]#
Bases:
objectWhat
build_storesorupdate_storesdid, oneStoreResultper store.- Attributes:
- storestuple of StoreResult
The stores acted on, in
STORESorder.
Examples
>>> outcome = StoreUpdate((StoreResult(Path("/d/sharadar_sep_1d.zarr"), StoreState.UPDATED),)) >>> outcome.updated, outcome.failed (('sharadar_sep_1d.zarr',), ())
- property built#
Stores built because they were missing.
- property failed#
Stores not brought up to date.
- lines()[source]#
The text a script prints: each store’s conversion result, then its summary.
Examples
>>> StoreUpdate((StoreResult(Path("/d/x.zarr"), StoreState.FAILED, error="boom"),)).lines() ['x.zarr: failed: boom']
- property rebuilt#
Stores rebuilt from the raw tier after refusing to resume.
- property updated#
Stores that appended their new bars (or had none to append).