uranusjr commented on a change in pull request #19723:
URL: https://github.com/apache/airflow/pull/19723#discussion_r753902690
##########
File path: airflow/providers/databricks/hooks/databricks.py
##########
@@ -34,6 +34,8 @@
from airflow.exceptions import AirflowException
from airflow.hooks.base import BaseHook
+RUN_STATE_FORMAT_STRING = "State: {}. Result: {}. {}"
Review comment:
Although this variable is really only used once and does not really need
to be global in the first place? Why not just use an f-string in
`get_run_state_str`?
--
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]