@@ -216,7 +216,13 @@ def project(self, project_id: str) -> t.Dict[str, t.Any]:
216216        return  self ._request ("GET" , r_path )
217217
218218    @returns_model (schema .ConnectionUri ) 
219-     def  connection_uri (self , project_id : str , database_name : str  =  None , role_name : str  =  None , pooled : bool  =  False ) ->  t .Dict [str , t .Any ]:
219+     def  connection_uri (
220+         self ,
221+         project_id : str ,
222+         database_name : str  =  None ,
223+         role_name : str  =  None ,
224+         pooled : bool  =  False ,
225+     ) ->  t .Dict [str , t .Any ]:
220226        """Get a connection URI for a project. 
221227
222228        :param project_id: The ID of the project. 
@@ -226,8 +232,12 @@ def connection_uri(self, project_id: str, database_name: str = None, role_name:
226232
227233        More info: https://api-docs.neon.tech/reference/getconnectionuri 
228234        """ 
229-         r_params  =  compact_mapping ({"database_name" : database_name , "role_name" : role_name , "pooled" : pooled })
230-         return  self ._request ("GET" , f"projects/{ project_id }  , params = r_params )
235+         r_params  =  compact_mapping (
236+             {"database_name" : database_name , "role_name" : role_name , "pooled" : pooled }
237+         )
238+         return  self ._request (
239+             "GET" , f"projects/{ project_id }  , params = r_params 
240+         )
231241
232242    @returns_model (schema .ProjectResponse ) 
233243    def  project_create (self , ** json : dict ) ->  t .Dict [str , t .Any ]:
0 commit comments