eladkal commented on code in PR #64180:
URL: https://github.com/apache/airflow/pull/64180#discussion_r2983707245
##########
providers/google/src/airflow/providers/google/marketing_platform/operators/bid_manager.py:
##########
@@ -317,8 +318,15 @@ def execute(self, context: Context):
# If no custom report_name provided, use Bid Manager name
file_url = resource["metadata"]["googleCloudStoragePath"]
- if urllib.parse.urlparse(file_url).scheme == "file":
- raise AirflowException("Accessing local file is not allowed in
this operator")
+ parsed_url = urllib.parse.urlparse(file_url)
Review Comment:
fixed. Let me know if new approach is better
--
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]