spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiangrui Meng (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-24454) ml.image doesn't have __all__ explicitly defined
Date Wed, 06 Jun 2018 18:19:00 GMT

     [ https://issues.apache.org/jira/browse/SPARK-24454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiangrui Meng updated SPARK-24454:
----------------------------------
    Priority: Minor  (was: Major)

> 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: Minor
>
> 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


Mime
View raw message