potiuk commented on code in PR #37665:
URL: https://github.com/apache/airflow/pull/37665#discussion_r1501404664
##########
airflow/providers/databricks/operators/databricks.py:
##########
@@ -287,8 +287,8 @@ def __init__(
self.json["git_source"] = git_source
if access_control_list is not None:
self.json["access_control_list"] = access_control_list
-
- self.json = normalise_json_content(self.json)
+ if self.json:
Review Comment:
Well. It can be empty dict after all the if's, so it saves a little to check
instances in `normalize_json_content` so leaving it is a small optimisation.
--
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]