ashb commented on code in PR #26730:
URL: https://github.com/apache/airflow/pull/26730#discussion_r981733705
##########
airflow/providers/microsoft/mssql/hooks/mssql.py:
##########
@@ -51,6 +51,15 @@ def __init__(
self.schema = kwargs.pop("schema", None)
self._sqlalchemy_scheme = sqlalchemy_scheme
+ @staticmethod
+ def get_ui_field_behaviour() -> Dict[str, Any]:
+ """Returns custom UI field behaviour for MSSQL Connection."""
+ return {
+ "relabeling": {
+ "schema": "Database",
+ },
Review Comment:
Lets add this to base DB api hook instead -- it'll right for all the
subclasses much more than calling it schema currently is!
--
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]