We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02700d4 commit d156aadCopy full SHA for d156aad
1 file changed
taskiq/decor.py
@@ -1,5 +1,6 @@
1
import sys
2
from collections.abc import Callable, Coroutine
3
+from copy import copy
4
from datetime import datetime, timedelta
5
from types import CoroutineType
6
from typing import (
@@ -225,7 +226,7 @@ def kicker(self) -> AsyncKicker[_FuncParams, _ReturnType]:
225
226
return AsyncKicker(
227
task_name=self.task_name,
228
broker=self.broker,
- labels=self.labels,
229
+ labels=copy(self.labels),
230
return_type=self.return_type,
231
)
232
0 commit comments