Skip to content

Commit

Permalink
DOC: Standardize flags field description
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Apr 19, 2024
1 parent e523041 commit 304bea5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions python/python/databento_dbn/_lib.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@ class _MBOBase:
@property
def flags(self) -> int:
"""
A combination of packet end with matching engine status.
A bit field indicating event end, message characteristics, and data quality.
Returns
-------
Expand Down Expand Up @@ -1616,7 +1616,7 @@ class _MBPBase:
@property
def flags(self) -> int:
"""
A combination of packet end with matching engine status.
A bit field indicating event end, message characteristics, and data quality.
Returns
-------
Expand Down Expand Up @@ -1782,7 +1782,7 @@ class CbboMsg(Record):
@property
def flags(self) -> int:
"""
A combination of packet end with matching engine status.
A bit field indicating event end, message characteristics, and data quality.
Returns
-------
Expand Down
10 changes: 5 additions & 5 deletions rust/dbn/src/record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub struct MboMsg {
#[dbn(encode_order(5))]
#[pyo3(get)]
pub size: u32,
/// A combination of packet end with matching engine status. See
/// A bit field indicating event end, message characteristics, and data quality. See
/// [`enums::flags`](crate::enums::flags) for possible values.
#[dbn(fmt_binary)]
#[pyo3(get)]
Expand Down Expand Up @@ -224,7 +224,7 @@ pub struct TradeMsg {
/// specified by the original source.
#[dbn(c_char, encode_order(3))]
pub side: c_char,
/// A combination of packet end with matching engine status. See
/// A bit field indicating event end, message characteristics, and data quality. See
/// [`enums::flags`](crate::enums::flags) for possible values.
#[dbn(fmt_binary)]
#[pyo3(get)]
Expand Down Expand Up @@ -281,7 +281,7 @@ pub struct Mbp1Msg {
/// **N**one where no side is specified by the original source.
#[dbn(c_char, encode_order(3))]
pub side: c_char,
/// A combination of packet end with matching engine status. See
/// A bit field indicating event end, message characteristics, and data quality. See
/// [`enums::flags`](crate::enums::flags) for possible values.
#[dbn(fmt_binary)]
#[pyo3(get)]
Expand Down Expand Up @@ -341,7 +341,7 @@ pub struct Mbp10Msg {
/// **N**one where no side is specified by the original source.
#[dbn(c_char, encode_order(3))]
pub side: c_char,
/// A combination of packet end with matching engine status. See
/// A bit field indicating event end, message characteristics, and data quality. See
/// [`enums::flags`](crate::enums::flags) for possible values.
#[dbn(fmt_binary)]
#[pyo3(get)]
Expand Down Expand Up @@ -401,7 +401,7 @@ pub struct CbboMsg {
/// **N**one where no side is specified by the original source.
#[dbn(c_char, encode_order(3))]
pub side: c_char,
/// A combination of packet end with matching engine status. See
/// A bit field indicating event end, message characteristics, and data quality. See
/// [`enums::flags`](crate::enums::flags) for possible values.
#[dbn(fmt_binary)]
#[pyo3(get)]
Expand Down

0 comments on commit 304bea5

Please sign in to comment.