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 Nov 28, 2024
1 parent 938b285 commit 9bcd838
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 9bcd838

Please sign in to comment.