File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed 
src/frequenz/client/reporting Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 66
77## Upgrading  
88
9+ *  Enforce keyword arguments in 'run' function of 'main' module
910
1011## New Features  
1112
Original file line number Diff line number Diff line change @@ -70,12 +70,12 @@ def main() -> None:
7070    args  =  parser .parse_args ()
7171    asyncio .run (
7272        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 ,
7979            states = args .states ,
8080            bounds = args .bounds ,
8181            service_address = args .url ,
@@ -87,6 +87,7 @@ def main() -> None:
8787
8888# pylint: disable=too-many-arguments, too-many-locals 
8989async  def  run (
90+     * ,
9091    microgrid_id : int ,
9192    component_id : int ,
9293    metric_names : list [str ],
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments