class_docstr: Hook for Spark Connect.
class_docstr_tok: ["Hook","for","Spark","Connect","."]
docstr: Return custom field behaviour.
docstr_tok: ["Return","custom","field","behaviour","."]
code: def get_ui_field_behaviour(cls) -> dict[str, Any]:
      """Return custom field behaviour."""
      return {
          "hidden_fields": [
              "schema",
          ],
          "relabeling": {"password": "Token", "login": "User ID"},
      }
  
file_path: airflow/airflow/providers/apache/spark/hooks/spark_connect.py
imports: from __future__ import annotations
  from typing import Any
  from urllib.parse import quote, urlparse, urlunparse
  from airflow.hooks.base import BaseHook
  from airflow.utils.log.logging_mixin import LoggingMixin
label_desc: Use image node_id 1 for calling the SparkConnectHook obj's underlying member method code with example usage: obj.get_ui_field_behaviour(cls) and returns: dict