We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b947c40 commit e6c03a3Copy full SHA for e6c03a3
1 file changed
airbyte_cdk/sources/streams/http/http_client.py
@@ -473,7 +473,9 @@ def _handle_error_resolution(
473
if isinstance(self._session.auth, SingleUseRefreshTokenOauth2Authenticator):
474
# For single-use refresh tokens, we must persist the new refresh token
475
# and emit a control message to update the connector config
476
- token, expires_in, new_refresh_token = self._session.auth.refresh_access_token()
+ token, expires_in, new_refresh_token = (
477
+ self._session.auth.refresh_access_token()
478
+ )
479
self._session.auth.access_token = token
480
self._session.auth.set_refresh_token(new_refresh_token)
481
self._session.auth.set_token_expiry_date(expires_in)
0 commit comments