potiuk commented on a change in pull request #12837:
URL: https://github.com/apache/airflow/pull/12837#discussion_r537082993
##########
File path: airflow/providers/cloudant/hooks/cloudant.py
##########
@@ -37,6 +40,17 @@ class CloudantHook(BaseHook):
conn_type = 'cloudant'
hook_name = 'Cloudant'
+ @staticmethod
+ def get_custom_fields() -> Dict:
+ return {
+ "hidden_fields": ['port', 'extra'],
+ "relabeling": {'host': 'Account', 'login': 'Username (or API
Key)', 'schema': 'Database'},
+ }
+
+ @staticmethod
+ def get_connection_form_widgets() -> Dict[str, Field]:
Review comment:
Yeah. I can remove it and then import is not even need.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]