mik-laj commented on code in PR #25115:
URL: https://github.com/apache/airflow/pull/25115#discussion_r922815846
##########
airflow/providers/databricks/hooks/databricks_base.py:
##########
@@ -129,6 +130,21 @@ def databricks_conn(self) -> Connection:
def get_conn(self) -> Connection:
return self.databricks_conn
+ @cached_property
+ def user_agent_header(self) -> Dict[str, str]:
+ return {'user-agent': self.user_agent_str}
+
+ @cached_property
+ def user_agent_str(self) -> str:
Review Comment:
```suggestion
def user_agent_value(self) -> 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]