mik-laj commented on a change in pull request #13117:
URL: https://github.com/apache/airflow/pull/13117#discussion_r545754145
##########
File path:
airflow/providers/google/cloud/example_dags/example_cloud_memorystore.py
##########
@@ -161,7 +161,7 @@
set_acl_permission = GCSBucketCreateAclEntryOperator(
task_id="gcs-set-acl-permission",
bucket=BUCKET_NAME,
- entity="user-{{
task_instance.xcom_pull('get-instance')['persistenceIamIdentity']"
+ entity="user-{{
task_instance.xcom_pull('get-instance')['persistence_iam_identity']"
Review comment:
This will be very problematic because this is changed in the third
library and we are just passing that object as JSON. These are the consequences
of the fact that our operators are only wrappers on the API and the abstraction
layer between the third library and the DAG is relatively thin.
In my opinion, we need to introduce a breaking change. Otherwise, we will be
forced to use old and outdated libraries that will not allow us to use new API
fields/features.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]