Skip to content

Commit 998b942

Browse files
author
Dane Rigby
committed
ADD: Update clients to support year split
1 parent aa86bf3 commit 998b942

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Changelog
22

3-
### 0.77.0 - TBD
3+
## 0.77.0 - TBD
44

5-
##### Enhancements
5+
#### Enhancements
66
- Added new publisher values for Cboe Titanium Cboe Global Indices Feed
7+
- Added `YEAR` to `SplitDuration` enum to support yearly historical batch job submission
78

89
## 0.76.0 - 2026-04-21
910

databento/common/enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ class SplitDuration(StringyMixin, str, Enum):
134134
DAY = "day"
135135
WEEK = "week"
136136
MONTH = "month"
137+
YEAR = "year"
137138
NONE = "none"
138139

139140

databento/historical/api/batch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def submit_job(
122122
`dbn`.
123123
split_symbols : bool, default False
124124
If files should be split by raw symbol. Cannot be requested with `'ALL_SYMBOLS'`.
125-
split_duration : SplitDuration or str {'day', 'week', 'month', 'none'}, default 'day'
125+
split_duration : SplitDuration or str {'day', 'week', 'month', 'year', 'none'}, default 'day'
126126
The maximum time duration before batched data is split into multiple files.
127127
A week starts on Sunday UTC.
128128
split_size : int, optional

0 commit comments

Comments
 (0)