Skip to content

Commit 98f68bf

Browse files
committed
FIX: Remove product_id index from Bento init
1 parent 34e7c67 commit 98f68bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

databento/common/bento.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,11 @@ def __init__(self, data_source: DataSource) -> None:
268268
raw_metadata=buffer.read(8 + metadata_length),
269269
)
270270

271+
# This is populated when _map_symbols is called.
271272
self._product_id_index: Dict[
272273
dt.date,
273274
Dict[int, str],
274-
] = self._build_product_id_index()
275+
] = {}
275276

276277
def _apply_pretty_ts(self, df: pd.DataFrame) -> pd.DataFrame:
277278
df.index = pd.to_datetime(df.index, utc=True)

0 commit comments

Comments
 (0)