You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eladkal (via GitHub)" <gi...@apache.org> on 2025/01/23 17:21:14 UTC
Re: [PR] Implement fetching consumer_secret from Salesforce connection [airflow]
eladkal commented on code in PR #45954:
URL: https://github.com/apache/airflow/pull/45954#discussion_r1927369446
##########
providers/src/airflow/providers/salesforce/hooks/salesforce.py:
##########
@@ -151,6 +151,7 @@ def conn(self) -> api.Salesforce:
session=self.session,
client_id=self._get_field(extras, "client_id") or None,
consumer_key=self._get_field(extras, "consumer_key") or None,
+ consumer_secret=self._get_field(extras, "consumer_secret") or None,
Review Comment:
ah we need also test coverage.
Probably easiest is jus to update `test_get_conn_jwt_auth`
https://github.com/eladkal/airflow/blob/857ca4c06c9008593674cabdd28d3c30e3e7f97b/providers/tests/salesforce/hooks/test_salesforce.py#L155
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org