Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/2808#discussion_r18999499
--- Diff: docs/streaming-programming-guide.md ---
@@ -398,6 +498,30 @@ JavaSparkContext sc = ... //existing JavaSparkContext
JavaStreamingContext ssc = new JavaStreamingContext(sc, new
Duration(1000));
{% endhighlight %}
</div>
+<div data-lang="python" markdown="1">
+
+A
[StreamingContext](api/python/pyspark.streaming.html#pyspark.streaming.StreamingContext)
object can be created from a
[SparkContext](api/python/pyspark.html#pyspark.SparkContext) object.
--- End diff --
I was able to generate that file by running
```
sphinx-apidoc -o . ../pyspark/
```
from the `python/docs` directory.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]