-
- Downloads
[SPARK-3309] [PySpark] Put all public API in __all__
Put all public API in __all__, also put them all in pyspark.__init__.py, then we can got all the documents for public API by `pydoc pyspark`. It also can be used by other programs (such as Sphinx or Epydoc) to generate only documents for public APIs. Author: Davies Liu <davies.liu@gmail.com> Closes #2205 from davies/public and squashes the following commits: c6c5567 [Davies Liu] fix message f7b35be [Davies Liu] put SchemeRDD, Row in pyspark.sql module 7e3016a [Davies Liu] add __all__ in mllib 6281b48 [Davies Liu] fix doc for SchemaRDD 6caab21 [Davies Liu] add public interfaces into pyspark.__init__.py
Showing
- python/pyspark/__init__.py 9 additions, 5 deletionspython/pyspark/__init__.py
- python/pyspark/accumulators.py 3 additions, 0 deletionspython/pyspark/accumulators.py
- python/pyspark/broadcast.py 14 additions, 10 deletionspython/pyspark/broadcast.py
- python/pyspark/conf.py 2 additions, 0 deletionspython/pyspark/conf.py
- python/pyspark/context.py 3 additions, 0 deletionspython/pyspark/context.py
- python/pyspark/files.py 3 additions, 0 deletionspython/pyspark/files.py
- python/pyspark/mllib/classification.py 4 additions, 0 deletionspython/pyspark/mllib/classification.py
- python/pyspark/mllib/clustering.py 2 additions, 0 deletionspython/pyspark/mllib/clustering.py
- python/pyspark/mllib/linalg.py 3 additions, 0 deletionspython/pyspark/mllib/linalg.py
- python/pyspark/mllib/random.py 3 additions, 0 deletionspython/pyspark/mllib/random.py
- python/pyspark/mllib/recommendation.py 2 additions, 0 deletionspython/pyspark/mllib/recommendation.py
- python/pyspark/mllib/regression.py 5 additions, 5 deletionspython/pyspark/mllib/regression.py
- python/pyspark/mllib/stat.py 4 additions, 2 deletionspython/pyspark/mllib/stat.py
- python/pyspark/mllib/tree.py 4 additions, 0 deletionspython/pyspark/mllib/tree.py
- python/pyspark/rdd.py 1 addition, 0 deletionspython/pyspark/rdd.py
- python/pyspark/serializers.py 1 addition, 1 deletionpython/pyspark/serializers.py
- python/pyspark/sql.py 18 additions, 3 deletionspython/pyspark/sql.py
Loading
Please register or sign in to comment