72da6f86cf
### What changes were proposed in this pull request? This PR: - removes annotations for modules which are not part of the public API. - removes `__init__.pyi` files, if no annotations, beyond exports, are present. ### Why are the changes needed? Primarily to reduce maintenance overhead and as requested in the comments to https://github.com/apache/spark/pull/29591 ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Existing tests and additional MyPy checks: ``` mypy --no-incremental --config python/mypy.ini python/pyspark MYPYPATH=python/ mypy --no-incremental --config python/mypy.ini examples/src/main/python/ml examples/src/main/python/sql examples/src/main/python/sql/streaming ``` Closes #29879 from zero323/SPARK-33002. Authored-by: zero323 <mszymkiewicz@gmail.com> Signed-off-by: HyukjinKwon <gurwls223@apache.org> |
||
---|---|---|
.. | ||
linalg | ||
stat | ||
tests | ||
__init__.py | ||
_typing.pyi | ||
classification.py | ||
classification.pyi | ||
clustering.py | ||
clustering.pyi | ||
common.py | ||
common.pyi | ||
evaluation.py | ||
evaluation.pyi | ||
feature.py | ||
feature.pyi | ||
fpm.py | ||
fpm.pyi | ||
random.py | ||
random.pyi | ||
recommendation.py | ||
recommendation.pyi | ||
regression.py | ||
regression.pyi | ||
tree.py | ||
tree.pyi | ||
util.py | ||
util.pyi |