Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion controller/data_block/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def update_query_results(
"project_id": str(data_block.project_id),
"task_list": task_list,
},
project_id=str(data_block.project_id),
)
return results

Expand Down
4 changes: 2 additions & 2 deletions controller/task_master/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ def queue_task(
user_id: str,
task_type: enums.TaskType,
task_info: Union[List[Dict[str, Any]], Dict[str, Any]],
project_id: Optional[str] = None,
priority: bool = False,
) -> requests.Response:

task_payload = {
"orgId": org_id,
"userId": user_id,
"taskType": task_type.value,
"taskInfo": task_info,
"projectId": project_id,
"priority": priority,
}
return requests.put(f"{TASK_MASTER_URL}/task/queue", json=task_payload)

Expand Down
2 changes: 1 addition & 1 deletion fast_api/routes/project_setting.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def calculate_user_attribute_all_records(
"attribute_id": str(body.attribute_id),
"data_block_id": body.data_block_id,
},
True,
priority=True,
)

return get_silent_success()
Expand Down