File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed
Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
25from 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
1516from databento .live .dbn import DBNRecord
1617
18+
1719M = 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.
You can’t perform that action at this time.
0 commit comments