Skip to content

Commit 0150e5c

Browse files
committed
Also log version
1 parent 64943b8 commit 0150e5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tasks/data_retrieval/create_tasks_data.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def _get_task_type(
241241
version=pkg_version,
242242
task_list=task_list,
243243
)
244+
ntasks = len(task_list)
244245
except Exception as e:
245246
print(f"ERROR, skip.\nOriginal error:\n{str(e)}")
246247

@@ -249,7 +250,7 @@ def _get_task_type(
249250
TASK_GROUPS.append(task_group)
250251

251252
t_end = time.perf_counter()
252-
print(f"END processing {source=} - elapsed {t_end-t_start:.3f} s.")
253+
print(f"END processing {source=} - version={pkg_version}' - added {ntasks} tasks - elapsed {t_end-t_start:.3f} s.")
253254
print()
254255

255256
output_file = Path(__file__).parent / "tasks_data.json"

0 commit comments

Comments
 (0)