Skip to content

Commit d72a4ac

Browse files
committed
MOD: Fix client typos
1 parent 75e158e commit d72a4ac

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

databento/common/dbnstore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def from_file(cls, path: PathLike[str] | str) -> DBNStore:
638638
Raises
639639
------
640640
FileNotFoundError
641-
If a non-existant file is specified.
641+
If a non-existent file is specified.
642642
ValueError
643643
If an empty file is specified.
644644

databento/common/symbology.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def insert_metadata(self, metadata: Metadata) -> None:
264264
stype_out=stype_out,
265265
)
266266

267-
self._insert_inverval(
267+
self._insert_interval(
268268
instrument_id,
269269
MappingInterval(
270270
start_date=start_date,
@@ -308,7 +308,7 @@ def insert_symbol_mapping_msg(
308308
else:
309309
symbol = msg.stype_out_symbol
310310

311-
self._insert_inverval(
311+
self._insert_interval(
312312
msg.hd.instrument_id,
313313
MappingInterval(
314314
start_date=pd.Timestamp(start_ts, unit="ns", tz="utc").date(),
@@ -383,7 +383,7 @@ def insert_json(
383383
stype_out=stype_out,
384384
)
385385

386-
self._insert_inverval(
386+
self._insert_interval(
387387
instrument_id,
388388
MappingInterval(
389389
start_date=start_date,
@@ -540,7 +540,7 @@ def map_symbols_json(
540540

541541
return out_file_valid
542542

543-
def _insert_inverval(self, instrument_id: int, interval: MappingInterval) -> None:
543+
def _insert_interval(self, instrument_id: int, interval: MappingInterval) -> None:
544544
"""
545545
Insert a SymbolInterval into the map.
546546

0 commit comments

Comments
 (0)