code: def get(
      self,
      key: str,
      default: Union[Optional[str], _NoValueType] = _NoValue,
  ) -> Optional[str]:
      self._checkType(key, "key")
      if default is _NoValue:
          op_get = proto.ConfigRequest.Get(keys=[key])
          operation = proto.ConfigRequest.Operation(get=op_get)
      else:
          if default is not None:
              self._checkType(default, "default")
          op_get_with_default = proto.ConfigRequest.GetWithDefault(
              pairs=[
                  proto.KeyValue(
                      key=key, value=cast(Optional[str], default)
                  )
              ]
          )
          operation = proto.ConfigRequest.Operation(
              get_with_default=op_get_with_default
          )
      result = self._client.config(operation)
      return result.pairs[0][1]
  
file_path: spark/python/pyspark/sql/connect/conf.py
imports: from pyspark.errors import PySparkValueError, PySparkTypeError
  from pyspark.sql.connect.utils import check_dependencies
  from typing import Any, Optional, Union, cast
  import warnings
  from pyspark import _NoValue
  from pyspark._globals import _NoValueType
  from pyspark.sql.conf import RuntimeConfig
  from pyspark.sql.connect import proto
  from pyspark.sql.connect.client import SparkConnectClient
label_desc: Use image node_id 3 for calling the RuntimeConf obj's underlying member method code with example usage: obj.get(key, default) and returns: result