code: def set(self, key: str, value: Union[str, int, bool]) -> None:
      if isinstance(value, bool):
          value = "true" if value else "false"
      elif isinstance(value, int):
          value = str(value)
      op_set = proto.ConfigRequest.Set(
          pairs=[proto.KeyValue(key=key, value=value)]
      )
      operation = proto.ConfigRequest.Operation(set=op_set)
      result = self._client.config(operation)
      for warn in result.warnings:
          warnings.warn(warn)
  
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 2 for calling the RuntimeConf obj's underlying member method code with example usage: obj.set(key, value) without return types