Github user HyukjinKwon commented on the issue:

    https://github.com/apache/spark/pull/19439
  
    I tried 
https://github.com/graphframes/graphframes/pull/169/files#diff-e81e6b169c0aa35012a3263b2f31b330R381
 way first in my local but seems causing warnings and failed to generate the 
doc via Sphinx in this case:
    
    ```
    .../spark/python/docs/pyspark.ml.rst:103: WARNING: autodoc: failed to 
import attribute u'ImageSchema.imageSchema' from module u'pyspark.ml.image'; 
the following exception was raised:
    Traceback (most recent call last):
      File "/Library/Python/2.7/site-packages/sphinx/ext/autodoc.py", line 514, 
in import_object
        obj = self.get_attr(obj, part)
      File "/Library/Python/2.7/site-packages/sphinx/ext/autodoc.py", line 410, 
in get_attr
        return safe_getattr(obj, name, *defargs)
      File "/Library/Python/2.7/site-packages/sphinx/util/inspect.py", line 
115, in safe_getattr
        raise AttributeError(name)
    AttributeError: imageSchema
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to