Skip to content

Commit 5159808

Browse files
cjdsellersnmacholl
authored andcommitted
DOC: Update release notes
1 parent 4488f90 commit 5159808

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- Changed `instrument_class` DataFrame representation to be consistent with other `char` types
1111
- Removed `open_interest_qty` and `cleared_volume` fields that were always unset from definition schema
1212
- Removed sunset `timeseries.stream` method
13+
- Removed support for legacy stypes
1314

1415
## 0.12.0 - 2023-05-01
1516
- Added `Live` client for connecting to Databento's live service

databento/common/enums.py

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
from enum import Enum, Flag, IntFlag, unique
1+
from enum import Enum
2+
from enum import Flag
3+
from enum import IntFlag
4+
from enum import unique
25
from typing import Callable, Type, TypeVar, Union
36

4-
from databento_dbn import (
5-
ImbalanceMsg,
6-
InstrumentDefMsg,
7-
MBOMsg,
8-
MBP1Msg,
9-
MBP10Msg,
10-
OHLCVMsg,
11-
StatMsg,
12-
TradeMsg,
13-
)
7+
from databento_dbn import ImbalanceMsg
8+
from databento_dbn import InstrumentDefMsg
9+
from databento_dbn import MBOMsg
10+
from databento_dbn import MBP1Msg
11+
from databento_dbn import MBP10Msg
12+
from databento_dbn import OHLCVMsg
13+
from databento_dbn import StatMsg
14+
from databento_dbn import TradeMsg
1415

1516
from databento.live.dbn import DBNRecord
1617

18+
1719
M = TypeVar("M", bound=Enum)
1820

1921

@@ -44,7 +46,6 @@ def coercible(enum_type: Type[M]) -> Type[M]:
4446
ValueError
4547
If an invalid value of the Enum is given.
4648
47-
4849
Notes
4950
-----
5051
This decorator makes some assuptions about your Enum class.

0 commit comments

Comments
 (0)