@@ -65,7 +65,6 @@ databento::BatchJob Parse(const std::string& endpoint,
6565 using databento::Encoding;
6666 using databento::JobState;
6767 using databento::JsonResponseError;
68- using databento::Packaging;
6968 using databento::Schema;
7069 using databento::SplitDuration;
7170 using databento::SType;
@@ -100,8 +99,6 @@ databento::BatchJob Parse(const std::string& endpoint,
10099 endpoint, json, " split_duration" , SplitDuration::None);
101100 res.split_size = ParseAt<std::uint64_t >(endpoint, json, " split_size" );
102101 res.split_symbols = ParseAt<bool >(endpoint, json, " split_symbols" );
103- res.packaging = FromCheckedAtStringOrNull<Packaging>(
104- endpoint, json, " packaging" , Packaging::None);
105102 res.delivery = FromCheckedAtString<Delivery>(endpoint, json, " delivery" );
106103 res.record_count = ParseAt<std::uint64_t >(endpoint, json, " record_count" );
107104 res.billed_size = ParseAt<std::uint64_t >(endpoint, json, " billed_size" );
@@ -170,26 +167,24 @@ databento::BatchJob Historical::BatchSubmitJob(
170167 Schema schema, const DateTimeRange<UnixNanos>& datetime_range) {
171168 return this ->BatchSubmitJob (dataset, symbols, schema, datetime_range,
172169 kDefaultEncoding , kDefaultCompression , {}, {}, {},
173- {}, SplitDuration::Day, {}, Packaging::None,
174- Delivery::Download, kDefaultSTypeIn ,
175- kDefaultSTypeOut , {});
170+ {}, SplitDuration::Day, {}, Delivery::Download,
171+ kDefaultSTypeIn , kDefaultSTypeOut , {});
176172}
177173databento::BatchJob Historical::BatchSubmitJob (
178174 const std::string& dataset, const std::vector<std::string>& symbols,
179175 Schema schema, const DateTimeRange<std::string>& datetime_range) {
180176 return this ->BatchSubmitJob (dataset, symbols, schema, datetime_range,
181177 kDefaultEncoding , kDefaultCompression , {}, {}, {},
182- {}, SplitDuration::Day, {}, Packaging::None,
183- Delivery::Download, kDefaultSTypeIn ,
184- kDefaultSTypeOut , {});
178+ {}, SplitDuration::Day, {}, Delivery::Download,
179+ kDefaultSTypeIn , kDefaultSTypeOut , {});
185180}
186181databento::BatchJob Historical::BatchSubmitJob (
187182 const std::string& dataset, const std::vector<std::string>& symbols,
188183 Schema schema, const DateTimeRange<UnixNanos>& datetime_range,
189184 Encoding encoding, Compression compression, bool pretty_px, bool pretty_ts,
190185 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) {
193188 httplib::Params params{
194189 {" dataset" , dataset},
195190 {" start" , ToString (datetime_range.start )},
@@ -202,7 +197,6 @@ databento::BatchJob Historical::BatchSubmitJob(
202197 {" map_symbols" , std::to_string (map_symbols)},
203198 {" split_symbols" , std::to_string (split_symbols)},
204199 {" split_duration" , ToString (split_duration)},
205- {" packaging" , ToString (packaging)},
206200 {" delivery" , ToString (delivery)},
207201 {" stype_in" , ToString (stype_in)},
208202 {" stype_out" , ToString (stype_out)}};
@@ -216,8 +210,8 @@ databento::BatchJob Historical::BatchSubmitJob(
216210 Schema schema, const DateTimeRange<std::string>& datetime_range,
217211 Encoding encoding, Compression compression, bool pretty_px, bool pretty_ts,
218212 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) {
221215 httplib::Params params{
222216 {" dataset" , dataset},
223217 {" start" , datetime_range.start },
@@ -230,7 +224,6 @@ databento::BatchJob Historical::BatchSubmitJob(
230224 {" map_symbols" , std::to_string (map_symbols)},
231225 {" split_symbols" , std::to_string (split_symbols)},
232226 {" split_duration" , ToString (split_duration)},
233- {" packaging" , ToString (packaging)},
234227 {" delivery" , ToString (delivery)},
235228 {" stype_in" , ToString (stype_in)},
236229 {" stype_out" , ToString (stype_out)}};
0 commit comments