Skip to content

Commit

Permalink
chore: add extras at the top level
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemDoum committed Dec 10, 2024
1 parent 6c6b2de commit 0123dc4
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,13 @@ public User getUser() {
}

private Map<String, Object> batchTaskArgs() {
return Map.of(
Map<String, Object> args = new HashMap<>(Map.of(
"pipeline", this.nlpPipeline.name(),
"maxLength", this.maxTextLength,
GROUP_KEY, nlpGroup(this.nlpPipeline),
"extras", pipelineExtras(this.nlpPipeline)
);
GROUP_KEY, nlpGroup(this.nlpPipeline)
));
args.putAll(pipelineExtras(this.nlpPipeline));
return args;
}

}

0 comments on commit 0123dc4

Please sign in to comment.