VladaZakharova commented on code in PR #30598:
URL: https://github.com/apache/airflow/pull/30598#discussion_r1164462542
##########
airflow/providers/google/marketing_platform/operators/campaign_manager.py:
##########
@@ -188,6 +194,11 @@ def __init__(
self.profile_id = profile_id
self.report_id = report_id
self.file_id = file_id
+ if api_version in ["v3.4", "v3.5"]:
+ warnings.warn(
+ f"API {api_version} is deprecated and shortly will be removed.
Please, consider using v4",
+ DeprecationWarning,
+ )
Review Comment:
Yes, for now if the user pass version 3.3 (that is currently deprecated),
the error will show that there was no such version found for specific service.
Thanks for the idea, i will remove this check :)
--
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]