class_docstr: User-facing configuration API, accessible through `SparkSession.conf`.
  
  Options set here are automatically propagated to the Hadoop configuration during I/O.
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
docstr: Sets the given Spark runtime configuration property.
  
  .. versionadded:: 2.0.0
  
  Parameters
  ----------
  key : str
      key of the configuration to set.
  value : str, int, or bool
      value of the configuration to set.
  
  Examples
  --------
  >>> spark.conf.set("key1", "value1")
docstr_tok: ["Sets","the","given","Spark","runtime","configuration","property",".","..","versionadded",":",":","2.0.0","Parameters","--","--","--","--","--","key",":","str","key","of","the","configuration","to","set",".","value",":","str",",","int",",","or","bool","value","of","the","configuration","to","set",".","Examples","--","--","--","--",">",">",">","spark.conf.set","(","``","key1","''",",","``","value1","''",")"]
code: def set(self, key: str, value: Union[str, int, bool]) -> None:
      """
      Sets the given Spark runtime configuration property.
  
      .. versionadded:: 2.0.0
  
      Parameters
      ----------
      key : str
          key of the configuration to set.
      value : str, int, or bool
          value of the configuration to set.
  
      Examples
      --------
      >>> spark.conf.set("key1", "value1")
      """
      self._jconf.set(key, value)
  
file_path: spark/python/pyspark/sql/conf.py
imports: import sys
  from typing import Any, Optional, Union
  from py4j.java_gateway import JavaObject
  from pyspark import _NoValue
  from pyspark._globals import _NoValueType
  from pyspark.errors import PySparkTypeError
label_desc: Use image node_id 2 for calling the RuntimeConfig obj's underlying member method code with example usage: obj.set(key, value) without return types