File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed
python/python/databento_dbn Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 0.39.0 - TBD
3+ ## 0.39.0 - 2025-07-29
44
55### Enhancements
66- Added ` side() ` and ` unpaired_side() ` methods to ` ImbalanceMsg ` that convert the fields
Original file line number Diff line number Diff line change @@ -4945,6 +4945,17 @@ class SystemMsg(Record):
49454945 msg ,
49464946 code ,
49474947 ) -> None : ...
4948+ def is_heartbeat (self ) -> bool :
4949+ """
4950+ Return `true` if this message is a heartbeat, used to indicate the connection
4951+ with the gateway is still open.
4952+
4953+ Returns
4954+ -------
4955+ bool
4956+
4957+ """
4958+
49484959 @property
49494960 def msg (self ) -> str :
49504961 """
@@ -6284,6 +6295,17 @@ class SystemMsgV1(Record):
62846295 ts_event ,
62856296 msg ,
62866297 ) -> None : ...
6298+ def is_heartbeat (self ) -> bool :
6299+ """
6300+ Return `true` if this message is a heartbeat, used to indicate the connection
6301+ with the gateway is still open.
6302+
6303+ Returns
6304+ -------
6305+ bool
6306+
6307+ """
6308+
62876309 @property
62886310 def msg (self ) -> str :
62896311 """
Original file line number Diff line number Diff line change @@ -2646,6 +2646,11 @@ impl SystemMsg {
26462646 Ok ( mem:: size_of :: < Self > ( ) )
26472647 }
26482648
2649+ #[ pyo3( name = "is_heartbeat" ) ]
2650+ fn py_is_heartbeat ( & self ) -> bool {
2651+ self . is_heartbeat ( )
2652+ }
2653+
26492654 #[ getter]
26502655 fn get_msg ( & self ) -> PyResult < & str > {
26512656 Ok ( self . msg ( ) ?)
@@ -3553,6 +3558,11 @@ impl v1::SystemMsg {
35533558 Ok ( mem:: size_of :: < Self > ( ) )
35543559 }
35553560
3561+ #[ pyo3( name = "is_heartbeat" ) ]
3562+ fn py_is_heartbeat ( & self ) -> bool {
3563+ self . is_heartbeat ( )
3564+ }
3565+
35563566 #[ getter]
35573567 fn get_msg ( & self ) -> PyResult < & str > {
35583568 Ok ( self . msg ( ) ?)
You can’t perform that action at this time.
0 commit comments