Fixing tests and fix merge

This commit is contained in:
GDay
2023-04-11 17:05:52 +02:00
parent ac83602a76
commit 3b01fc2bd7
9 changed files with 90 additions and 105 deletions
+3 -3
View File
@@ -47,7 +47,7 @@ def async_task(func, *args, **kwargs):
)
# don't serialize the broker
broker = given_kwargs.pop("broker", None) or q_options.pop("broker", None) or get_broker(task.get("cluster")) or get_broker()
broker = given_kwargs.pop("broker", None) or q_options.pop("broker", None) or get_broker(task.cluster) or get_broker()
print(broker.list_key)
@@ -266,7 +266,7 @@ def fetch_cached(task_id, wait=0, broker=None):
hook=task.hook,
args=task.args,
kwargs=task.kwargs,
cluster=task.get("cluster"),
cluster=task.cluster,
started=task.started_at,
stopped=task.finished_at,
result=task.result,
@@ -337,7 +337,7 @@ def fetch_group_cached(group_id, failures=True, wait=0, count=None, broker=None)
hook=task.hook,
args=task.args,
kwargs=task.kwargs,
cluster=task.get("cluster"),
cluster=task.cluster,
started=task.started_at,
stopped=task.finished_at,
result=task.result,