File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed 
google/cloud/sql/connector Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1919from  google .cloud .sql .connector .exceptions  import  IncompatibleDriverError 
2020
2121
22+ # TODO: Replace Enum with StrEnum when Python 3.11 is minimum supported version 
2223class  RefreshStrategy (Enum ):
23-     LAZY :  str  =  "LAZY" 
24-     BACKGROUND :  str  =  "BACKGROUND" 
24+     LAZY  =  "LAZY" 
25+     BACKGROUND  =  "BACKGROUND" 
2526
2627    @classmethod  
2728    def  _missing_ (cls , value : object ) ->  None :
@@ -37,9 +38,9 @@ def _from_str(cls, refresh_strategy: str) -> RefreshStrategy:
3738
3839
3940class  IPTypes (Enum ):
40-     PUBLIC :  str  =  "PRIMARY" 
41-     PRIVATE :  str  =  "PRIVATE" 
42-     PSC :  str  =  "PSC" 
41+     PUBLIC  =  "PRIMARY" 
42+     PRIVATE  =  "PRIVATE" 
43+     PSC  =  "PSC" 
4344
4445    @classmethod  
4546    def  _missing_ (cls , value : object ) ->  None :
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments