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/08 16:33:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

Xiangrui Meng reassigned SPARK-24454:
-------------------------------------

    Assignee: Hyukjin Kwon

> ml.image doesn't have __all__ explicitly defined
> ------------------------------------------------
>
>                 Key: SPARK-24454
>                 URL: https://issues.apache.org/jira/browse/SPARK-24454
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, PySpark
>    Affects Versions: 2.3.0
>            Reporter: Xiangrui Meng
>            Assignee: Hyukjin Kwon
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> 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