11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
33#
4- # Copyright (c) 2020-2023 The WfCommons Team.
4+ # Copyright (c) 2020-2025 The WfCommons Team.
55#
66# This program is free software: you can redistribute it and/or modify
77# it under the terms of the GNU General Public License as published by
@@ -87,7 +87,7 @@ def __init__(self,
8787 energy : Optional [int ] = None ,
8888 avg_power : Optional [float ] = None ,
8989 priority : Optional [int ] = None ,
90- executedAt : Optional [str ] = None ,
90+ executed_at : Optional [str ] = None ,
9191 task_type : Optional [TaskType ] = None ,
9292 launch_dir : Optional [str ] = None ,
9393 logger : Optional [Logger ] = None ,
@@ -114,7 +114,7 @@ def __init__(self,
114114 self .priority : Optional [int ] = priority
115115 self .type : Optional [TaskType ] = task_type
116116 self .launch_dir : Optional [str ] = launch_dir
117- self .start_time : Optional [str ] = str (datetime .now ().astimezone ().isoformat ()) if not executedAt else executedAt
117+ self .start_time : Optional [str ] = str (datetime .now ().astimezone ().isoformat ()) if not executed_at else executed_at
118118 self .logger .debug (
119119 f"created task { self .task_id } : runtime => { self .runtime } seconds." )
120120
0 commit comments