Skip to content

Commit f51133b

Browse files
committed
ADD: Add PUBLISHER_SPECIFIC flag
1 parent 3544448 commit f51133b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#### Enhancements
99
- Added `JobState` enum
1010
- Added export of `SystemCode` and `ErrorCode` from `databento_dbn` to the root `databento` package
11+
- Added `F_PUBLISHER_SPECIFIC` flag to `RecordFlags` enum
1112

1213
#### Bug fixes
1314
- Bumped the minimum version requirement for `requests` to 0.27.0

databento/common/enums.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ class RecordFlags(StringyMixin, IntFlag): # type: ignore
207207
The `ts_recv` value is inaccurate (clock issues or reordering).
208208
F_MAYBE_BAD_BOOK
209209
Indicates an unrecoverable gap was detected in the channel.
210+
F_PUBLISHER_SPECIFIC
211+
Indicates a publisher-specific event.
210212
211213
Other bits are reserved and have no current meaning.
212214
@@ -218,6 +220,7 @@ class RecordFlags(StringyMixin, IntFlag): # type: ignore
218220
F_MBP = 16
219221
F_BAD_TS_RECV = 8
220222
F_MAYBE_BAD_BOOK = 4
223+
F_PUBLISHER_SPECIFIC = 2
221224

222225

223226
@unique

0 commit comments

Comments
 (0)