Skip to content
Snippets Groups Projects
  • Davies Liu's avatar
    6481d274
    [SPARK-3309] [PySpark] Put all public API in __all__ · 6481d274
    Davies Liu authored
    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
    6481d274
    History
    [SPARK-3309] [PySpark] Put all public API in __all__
    Davies Liu authored
    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
files.py 1.88 KiB