@@ -65,7 +65,6 @@ databento::BatchJob Parse(const std::string& endpoint,
65
65
using databento::Encoding;
66
66
using databento::JobState;
67
67
using databento::JsonResponseError;
68
- using databento::Packaging;
69
68
using databento::Schema;
70
69
using databento::SplitDuration;
71
70
using databento::SType;
@@ -100,8 +99,6 @@ databento::BatchJob Parse(const std::string& endpoint,
100
99
endpoint, json, " split_duration" , SplitDuration::None);
101
100
res.split_size = ParseAt<std::uint64_t >(endpoint, json, " split_size" );
102
101
res.split_symbols = ParseAt<bool >(endpoint, json, " split_symbols" );
103
- res.packaging = FromCheckedAtStringOrNull<Packaging>(
104
- endpoint, json, " packaging" , Packaging::None);
105
102
res.delivery = FromCheckedAtString<Delivery>(endpoint, json, " delivery" );
106
103
res.record_count = ParseAt<std::uint64_t >(endpoint, json, " record_count" );
107
104
res.billed_size = ParseAt<std::uint64_t >(endpoint, json, " billed_size" );
@@ -170,26 +167,24 @@ databento::BatchJob Historical::BatchSubmitJob(
170
167
Schema schema, const DateTimeRange<UnixNanos>& datetime_range) {
171
168
return this ->BatchSubmitJob (dataset, symbols, schema, datetime_range,
172
169
kDefaultEncoding , kDefaultCompression , {}, {}, {},
173
- {}, SplitDuration::Day, {}, Packaging::None,
174
- Delivery::Download, kDefaultSTypeIn ,
175
- kDefaultSTypeOut , {});
170
+ {}, SplitDuration::Day, {}, Delivery::Download,
171
+ kDefaultSTypeIn , kDefaultSTypeOut , {});
176
172
}
177
173
databento::BatchJob Historical::BatchSubmitJob (
178
174
const std::string& dataset, const std::vector<std::string>& symbols,
179
175
Schema schema, const DateTimeRange<std::string>& datetime_range) {
180
176
return this ->BatchSubmitJob (dataset, symbols, schema, datetime_range,
181
177
kDefaultEncoding , kDefaultCompression , {}, {}, {},
182
- {}, SplitDuration::Day, {}, Packaging::None,
183
- Delivery::Download, kDefaultSTypeIn ,
184
- kDefaultSTypeOut , {});
178
+ {}, SplitDuration::Day, {}, Delivery::Download,
179
+ kDefaultSTypeIn , kDefaultSTypeOut , {});
185
180
}
186
181
databento::BatchJob Historical::BatchSubmitJob (
187
182
const std::string& dataset, const std::vector<std::string>& symbols,
188
183
Schema schema, const DateTimeRange<UnixNanos>& datetime_range,
189
184
Encoding encoding, Compression compression, bool pretty_px, bool pretty_ts,
190
185
bool map_symbols, bool split_symbols, SplitDuration split_duration,
191
- std::uint64_t split_size, Packaging packaging, Delivery delivery ,
192
- SType stype_in, SType stype_out, std::uint64_t limit) {
186
+ std::uint64_t split_size, Delivery delivery, SType stype_in ,
187
+ SType stype_out, std::uint64_t limit) {
193
188
httplib::Params params{
194
189
{" dataset" , dataset},
195
190
{" start" , ToString (datetime_range.start )},
@@ -202,7 +197,6 @@ databento::BatchJob Historical::BatchSubmitJob(
202
197
{" map_symbols" , std::to_string (map_symbols)},
203
198
{" split_symbols" , std::to_string (split_symbols)},
204
199
{" split_duration" , ToString (split_duration)},
205
- {" packaging" , ToString (packaging)},
206
200
{" delivery" , ToString (delivery)},
207
201
{" stype_in" , ToString (stype_in)},
208
202
{" stype_out" , ToString (stype_out)}};
@@ -216,8 +210,8 @@ databento::BatchJob Historical::BatchSubmitJob(
216
210
Schema schema, const DateTimeRange<std::string>& datetime_range,
217
211
Encoding encoding, Compression compression, bool pretty_px, bool pretty_ts,
218
212
bool map_symbols, bool split_symbols, SplitDuration split_duration,
219
- std::uint64_t split_size, Packaging packaging, Delivery delivery ,
220
- SType stype_in, SType stype_out, std::uint64_t limit) {
213
+ std::uint64_t split_size, Delivery delivery, SType stype_in ,
214
+ SType stype_out, std::uint64_t limit) {
221
215
httplib::Params params{
222
216
{" dataset" , dataset},
223
217
{" start" , datetime_range.start },
@@ -230,7 +224,6 @@ databento::BatchJob Historical::BatchSubmitJob(
230
224
{" map_symbols" , std::to_string (map_symbols)},
231
225
{" split_symbols" , std::to_string (split_symbols)},
232
226
{" split_duration" , ToString (split_duration)},
233
- {" packaging" , ToString (packaging)},
234
227
{" delivery" , ToString (delivery)},
235
228
{" stype_in" , ToString (stype_in)},
236
229
{" stype_out" , ToString (stype_out)}};
0 commit comments