Skip to content

Commit 671546e

Browse files
committed
Hotfix for taskiqMessage task_id.
Signed-off-by: Pavel Kirilin <[email protected]>
1 parent c08d06e commit 671546e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

taskiq/kicker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _prepare_message( # noqa: WPS210
168168
labels[label] = str(label_val)
169169

170170
return TaskiqMessage(
171-
task_id=self.broker.id_generator,
171+
task_id=self.broker.id_generator(),
172172
task_name=self.task_name,
173173
labels=labels,
174174
args=formatted_args,

0 commit comments

Comments
 (0)