File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 44# This module is part of asyncpg and is released under 
55# the Apache 2.0 License: http://www.apache.org/licenses/LICENSE-2.0 
66
7+ from  __future__ import  annotations 
78
89import  asyncio 
910import  collections 
@@ -59,7 +60,7 @@ class _ConnectionParameters(typing.NamedTuple):
5960    sslmode : SSLMode 
6061    ssl_negotiation : SSLNegotiation 
6162    server_settings : typing .Optional [typing .Dict [str , str ]]
62-     target_session_attrs : " SessionAttribute" 
63+     target_session_attrs : SessionAttribute 
6364    krbsrvname : typing .Optional [str ]
6465    gsslib : str 
6566
@@ -129,7 +130,7 @@ def _read_password_file(passfile: pathlib.Path) \
129130def  _read_password_from_pgpass (
130131    * ,
131132    passfile : pathlib .Path ,
132-     hosts : " Sequence[str]" 
133+     hosts : Sequence [str ],
133134    ports : typing .List [int ],
134135    database : str ,
135136    user : str 
@@ -166,7 +167,7 @@ def _read_password_from_pgpass(
166167
167168
168169def  _validate_port_spec (
169-     hosts : " Sequence[object]" port : typing .Union [int , typing .List [int ]]
170+     hosts : Sequence [object ], port : typing .Union [int , typing .List [int ]]
170171) ->  typing .List [int ]:
171172    if  isinstance (port , list ):
172173        # If there is a list of ports, its length must 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments