potiuk commented on a change in pull request #13117:
URL: https://github.com/apache/airflow/pull/13117#discussion_r546346852
##########
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:
Is the list of those modified fields known and fixed ? I guess it should
be as it comes from the old version of library which is not going to be
updated. I guess the values in Xcom come from another operator of ours, and
they contain the values returned by `CloudMemorystoreGetInstanceOperator` -
result of `MessageToDict` method call?
I guess in this case we could - potentially - make it backwards-compatible
by modifying the dictionary returned and copying the values with legacy field
names? How feasible it is ? Maybe in the new library there is already a fixed
list of values or even a code that we could use to do it ?
----------------------------------------------------------------
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]