shahar1 commented on code in PR #61349:
URL: https://github.com/apache/airflow/pull/61349#discussion_r2772667450
##########
providers/google/src/airflow/providers/google/cloud/transfers/facebook_ads_to_gcs.py:
##########
@@ -122,11 +122,21 @@ def __init__(
self.upload_as_account = upload_as_account
self.impersonation_chain = impersonation_chain
- def execute(self, context: Context):
+ def execute(self, context: Context) -> list[str]:
+ """
+ Execute the operator.
+
+ Fetches Facebook Ads reports and uploads them to Google Cloud Storage.
+
+ :return: List of GCS URIs where the reports were uploaded.
+ This value is pushed to XCom for downstream tasks.
+ :rtype: List[str]
Review Comment:
Good call Pratiksha!
It is indeed not commonly used in Airflow's repo (only in [5
files](https://github.com/search?q=repo%3Aapache%2Fairflow%20%22%3Artype%22&type=code)).
As it indeed seems redundant, I'm in favor of remove it as well.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]