DataStreamReader.
option
Adds an input option for the underlying data source.
New in version 2.0.0.
Notes
This API is evolving.
Examples
>>> s = spark.readStream.option("x", 1)
previous
pyspark.sql.streaming.DataStreamReader.load
next
pyspark.sql.streaming.DataStreamReader.options