You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiangrui Meng (JIRA)" <ji...@apache.org> on 2018/06/06 18:19:00 UTC

[jira] [Commented] (SPARK-24454) ml.image doesn't have __all__ explicitly defined

    [ https://issues.apache.org/jira/browse/SPARK-24454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503700#comment-16503700 ] 

Xiangrui Meng commented on SPARK-24454:
---------------------------------------

Updated this JIRA and created SPARK-24477.

> ml.image doesn't have __all__ explicitly defined
> ------------------------------------------------
>
>                 Key: SPARK-24454
>                 URL: https://issues.apache.org/jira/browse/SPARK-24454
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, PySpark
>    Affects Versions: 2.3.0
>            Reporter: Xiangrui Meng
>            Priority: Major
>
> ml/image.py doesn't have __all__ explicitly defined. It will import all global names by default (only ImageSchema for now), which is not a good practice. We should add __all__ to image.py.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org