We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b6c856 commit 4e0ebc4Copy full SHA for 4e0ebc4
1 file changed
airbyte_cdk/sources/declarative/auth/oauth.py
@@ -22,6 +22,7 @@
22
23
logger = logging.getLogger("airbyte")
24
25
+
26
@dataclass
27
class DeclarativeOauth2Authenticator(AbstractOauth2Authenticator, DeclarativeAuthenticator):
28
"""
@@ -204,7 +205,9 @@ def get_client_secret(self) -> str:
204
205
)
206
if not client_secret:
207
# We've seen some APIs allowing empty client_secret so we will only log here
- logger.warning("OAuthAuthenticator was unable to evaluate client_secret parameter hence it'll be empty")
208
+ logger.warning(
209
+ "OAuthAuthenticator was unable to evaluate client_secret parameter hence it'll be empty"
210
+ )
211
return client_secret # type: ignore # value will be returned as a string, or an error will be raised
212
213
def get_refresh_token_name(self) -> str:
0 commit comments