itholic commented on a change in pull request #35067:
URL: https://github.com/apache/spark/pull/35067#discussion_r833922503
##########
File path: python/pyspark/mllib/fpm.py
##########
@@ -17,17 +17,20 @@
import sys
-from collections import namedtuple
+from typing import Any, Generic, List, NamedTuple, TypeVar
-from pyspark import since
+from pyspark import since, SparkContext
from pyspark.mllib.common import JavaModelWrapper, callMLlibFunc
from pyspark.mllib.util import JavaSaveable, JavaLoader, inherit_doc
+from pyspark.rdd import RDD
-__all__ = ["FPGrowth", "FPGrowthModel", "PrefixSpan", "PrefixSpanModel"]
+_all__ = ["FPGrowth", "FPGrowthModel", "PrefixSpan", "PrefixSpanModel"]
Review comment:
mistake?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]