Skip to content

Commit c45cf5f

Browse files
committed
fix to taskType
1 parent 24fe116 commit c45cf5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidy3d/web/api/webapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ def get_info(task_id: TaskId, verbose: bool = True) -> TaskInfo | BatchDetail:
673673
raise ValueError("Task not found.")
674674
if isinstance(task, BatchTask):
675675
return task.detail()
676-
return TaskInfo(**{"taskId": task.task_id, **task.dict()})
676+
return TaskInfo(**{"taskId": task.task_id, "taskType": task.task_type, **task.dict()})
677677

678678

679679
@wait_for_connection

0 commit comments

Comments
 (0)