File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
google/cloud/sql/connector Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -94,13 +94,12 @@ async def connect_info(self) -> ConnectionInfo:
9494 < (self ._cached .expiration - timedelta (seconds = _refresh_buffer ))
9595 ):
9696 logger .debug (
97- f"['{ str ( self ._conn_name ) } ']: Connection info "
97+ f"['{ self ._conn_name } ']: Connection info "
9898 "is still valid, using cached info"
9999 )
100100 return self ._cached
101101 logger .debug (
102- f"['{ str (self ._conn_name )} ']: Connection info "
103- "refresh operation started"
102+ f"['{ self ._conn_name } ']: Connection info " "refresh operation started"
104103 )
105104 try :
106105 conn_info = await self ._client .get_connection_info (
@@ -112,16 +111,16 @@ async def connect_info(self) -> ConnectionInfo:
112111 )
113112 except Exception as e :
114113 logger .debug (
115- f"['{ str ( self ._conn_name ) } ']: Connection info "
114+ f"['{ self ._conn_name } ']: Connection info "
116115 f"refresh operation failed: { str (e )} "
117116 )
118117 raise
119118 logger .debug (
120- f"['{ str ( self ._conn_name ) } ']: Connection info "
119+ f"['{ self ._conn_name } ']: Connection info "
121120 "refresh operation completed successfully"
122121 )
123122 logger .debug (
124- f"['{ str ( self ._conn_name ) } ']: Current certificate "
123+ f"['{ self ._conn_name } ']: Current certificate "
125124 f"expiration = { str (conn_info .expiration )} "
126125 )
127126 self ._cached = conn_info
You can’t perform that action at this time.
0 commit comments