Taragolis commented on code in PR #38741:
URL: https://github.com/apache/airflow/pull/38741#discussion_r1557056585


##########
airflow/providers/databricks/operators/databricks.py:
##########
@@ -316,6 +316,10 @@ def execute(self, context: Context) -> int:
         if job_id is None:
             return self._hook.create_job(self.json)
         self._hook.reset_job(str(job_id), self.json)
+        if "access_control_list" in self.json and 
self.json["access_control_list"] is not None:

Review Comment:
   Python 3.8+ there 😄 
   
   ```python
   if (access_control_list := self.json.get("access_control_list")) is not None:
       acl_json = {"access_control_list": access_control_list}
       self._hook.update_job_permission(normalise_json_content(acl_json))
   ```



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to