File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1717
1818        +  The ` load() `  method was removed. Please use ` frequenz.sdk.config.load_config() `  instead.
1919        +  The class is now a standard ` dataclass `  instead of a ` marshmallow_dataclass ` .
20+         +  The class is now immutable.
21+         +  The constructor now accepts only keyword arguments.
2022
21-     *  ` LoggerConfig `  is not a standard ` dataclass `  instead of a ` marshmallow_dataclass ` .
23+     *  ` LoggerConfig ` 
24+ 
25+         +  The class is now a standard ` dataclass `  instead of a ` marshmallow_dataclass ` .
26+         +  The class is now immutable.
27+         +  The constructor now accepts only keyword arguments.
2228
2329## New Features  
2430
Original file line number Diff line number Diff line change 2626"""A marshmallow field for validating log levels.""" 
2727
2828
29- @dataclass  
29+ @dataclass ( frozen = True ,  kw_only = True )  
3030class  LoggerConfig :
3131    """A configuration for a logger.""" 
3232
@@ -41,7 +41,7 @@ class LoggerConfig:
4141    """The log level for the logger.""" 
4242
4343
44- @dataclass  
44+ @dataclass ( frozen = True ,  kw_only = True )  
4545class  LoggingConfig :
4646    """A configuration for the logging system.""" 
4747
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments