databento 0.62.0
Release notes
This release delivers a number of breaking changes to the Python interface for DBN records to provide a cleaner and more consistent API.
Breaking changes
- Removed
bill_id
from the response ofbatch.list_jobs()
andbatch.submit_job()
- Upgraded
databento-dbn
to 0.40.0- Removed
hd
property from records in Python. Header fields are accessible
directly from the record - Removed ability to directly instantiate most enums from an
int
in Python and coercion
fromint
in__eq__
. They can still be instantitated with thefrom_int
class method.
WriteSide.from_int(66)
instead ofSide(66)
andSide.BID == Side.from_int(66)
instead ofSide.BID == 66
. Affected enums:Side
Action
InstrumentClass
MatchAlgorithm
UserDefinedInstrument
SecurityUpdateAction
SType
Schema
Encoding
Compression
TriState
- Removed string coercion in
__init__
and__eq__
forRType
,SystemCode
, and
ErrorCode
enums in Python. It can still be instantiated from astr
with the
from_str
class method. WriteRType.from_str("mbo")
instead ofRType("mbo")
andRType.TRADES == RType.from_str("trades")
instead ofRType.TRADES == "trades"
- Removed
Enhancements
- Added
END_OF_INTERVAL
variant toSystemCode
enum