| 48 | std::unordered_map<std::string, std::vector<std::unordered_map<std::string, std::string>>> batches; |
| 49 | }; |
| 50 | |
| 51 | std::string workflow_string(const engine::io::json::Value & object, const std::string & key) { |
| 52 | const auto * value = object.find(key); |
| 53 | if (value == nullptr || value->is_null()) { |
| 54 | throw std::runtime_error("workflow object missing required string field: " + key); |
| 55 | } |
| 56 | return value->as_string(); |
| 57 | } |
| 58 | |
| 59 | std::istringstream workflow_buffer(const engine::io::json::Value & object, const std::string & key) { |
no test coverage detected