ashb commented on a change in pull request #11389:
URL: https://github.com/apache/airflow/pull/11389#discussion_r506980437



##########
File path: airflow/models/dag.py
##########
@@ -387,7 +387,7 @@ def __exit__(self, _type, _value, _tb):
     def _upgrade_outdated_dag_access_control(access_control=None):
         """
         Looks for outdated dag level permissions (can_dag_read and 
can_dag_edit) in DAG
-        access_controls (for example, {'role1': {'can_dag_read'}, 'role2': 
{'can_dag_read', 'can_dag_edit'}})
+        access_controls (for example, {'role1': {"can_dag_read"}, 'role2': 
{"can_dag_read", "can_dag_edit"}})

Review comment:
       Inconsistent quoting here - pick one :)




----------------------------------------------------------------
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]


Reply via email to