fix: include positional args in the deduplication fingerprint (#81)

This commit is contained in:
d3vyce
2026-07-29 10:13:58 +02:00
committed by GitHub
parent 56e82689f8
commit e75b9f3f20
6 changed files with 51 additions and 7 deletions
+4 -2
View File
@@ -33,13 +33,15 @@ async def real_redis():
@pytest.fixture
def make_message():
def _make(task_name="my_task", task_id="task-1", labels=None, kwargs=None):
def _make(
task_name="my_task", task_id="task-1", labels=None, kwargs=None, args=None
):
return TaskiqMessage(
task_id=task_id,
task_name=task_name,
labels=labels or {},
labels_types={},
args=[],
args=args or [],
kwargs=kwargs or {},
)