File tree 2 files changed +8
-6
lines changed
src/frequenz/client/reporting
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 6
6
7
7
## Upgrading
8
8
9
+ * Enforce keyword arguments in 'run' function of 'main' module
9
10
10
11
## New Features
11
12
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ def main() -> None:
70
70
args = parser .parse_args ()
71
71
asyncio .run (
72
72
run (
73
- args .mid ,
74
- args .cid ,
75
- args .metrics ,
76
- args .start ,
77
- args .end ,
78
- args .resolution ,
73
+ microgrid_id = args .mid ,
74
+ component_id = args .cid ,
75
+ metric_names = args .metrics ,
76
+ start_dt = args .start ,
77
+ end_dt = args .end ,
78
+ resolution = args .resolution ,
79
79
states = args .states ,
80
80
bounds = args .bounds ,
81
81
service_address = args .url ,
@@ -87,6 +87,7 @@ def main() -> None:
87
87
88
88
# pylint: disable=too-many-arguments, too-many-locals
89
89
async def run (
90
+ * ,
90
91
microgrid_id : int ,
91
92
component_id : int ,
92
93
metric_names : list [str ],
You can’t perform that action at this time.
0 commit comments