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_idfrom the response ofbatch.list_jobs()andbatch.submit_job() - Upgraded
databento-dbnto 0.40.0- Removed
hdproperty from records in Python. Header fields are accessible
directly from the record - Removed ability to directly instantiate most enums from an
intin Python and coercion
fromintin__eq__. They can still be instantitated with thefrom_intclass method.
WriteSide.from_int(66)instead ofSide(66)andSide.BID == Side.from_int(66)
instead ofSide.BID == 66. Affected enums:SideActionInstrumentClassMatchAlgorithmUserDefinedInstrumentSecurityUpdateActionSTypeSchemaEncodingCompressionTriState
- Removed string coercion in
__init__and__eq__forRType,SystemCode, and
ErrorCodeenums in Python. It can still be instantiated from astrwith the
from_strclass method. WriteRType.from_str("mbo")instead ofRType("mbo")
andRType.TRADES == RType.from_str("trades")instead ofRType.TRADES == "trades"
- Removed
Enhancements
- Added
END_OF_INTERVALvariant toSystemCodeenum