You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Alex Amato (JIRA)" <ji...@apache.org> on 2019/03/01 22:22:00 UTC

[jira] [Updated] (BEAM-6761) Pydoc is giving criptic error messages

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

Alex Amato updated BEAM-6761:
-----------------------------
    Description: 
This is blocking my PR at the moment, the output doesn't seem to match the file and I am not sure how to proceed

pydoc Output
 [https://scans.gradle.com/s/im6t66hhy4bdq/console-log?task=:beam-sdks-python:docs#L3|https://www.google.com/url?q=https://scans.gradle.com/s/im6t66hhy4bdq/console-log?task%3D:beam-sdks-python:docs%23L3&sa=D&source=hangouts&ust=1551564233723000&usg=AFQjCNEblSgvJ5E5k_TxqgGujKeUGfuIOw]

Files
 [https://github.com/apache/beam/pull/7936/files|https://www.google.com/url?q=https://github.com/apache/beam/pull/7936/files&sa=D&source=hangouts&ust=1551564233724000&usg=AFQjCNGXSwba2Q4Aod3FAVcYhQXOkQgYvQ]

 

/usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:13: WARNING: Unexpected indentation.
 /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:15: WARNING: Block quote ends without a blank line; unexpected unindent.
 /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:18: WARNING: Definition list ends without a blank line; unexpected unindent.
 /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:19: WARNING: Definition list ends without a blank line; unexpected unindent.
 /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:21: WARNING: Unexpected indentation.
 /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:22: WARNING: Block quote ends without a blank line; unexpected unindent.

 

===== copy of the file in its current state (I will probably modify the PR ====

[https://pastebin.com/8bWrPZVJ]

 

  was:
This is blocking my PR at the moment,

pydoc Output
[https://scans.gradle.com/s/im6t66hhy4bdq/console-log?task=:beam-sdks-python:docs#L3|https://www.google.com/url?q=https://scans.gradle.com/s/im6t66hhy4bdq/console-log?task%3D:beam-sdks-python:docs%23L3&sa=D&source=hangouts&ust=1551564233723000&usg=AFQjCNEblSgvJ5E5k_TxqgGujKeUGfuIOw]

Files
[https://github.com/apache/beam/pull/7936/files|https://www.google.com/url?q=https://github.com/apache/beam/pull/7936/files&sa=D&source=hangouts&ust=1551564233724000&usg=AFQjCNGXSwba2Q4Aod3FAVcYhQXOkQgYvQ]

 

/usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:13: WARNING: Unexpected indentation.
/usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:15: WARNING: Block quote ends without a blank line; unexpected unindent.
/usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:18: WARNING: Definition list ends without a blank line; unexpected unindent.
/usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:19: WARNING: Definition list ends without a blank line; unexpected unindent.
/usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:21: WARNING: Unexpected indentation.
/usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:22: WARNING: Block quote ends without a blank line; unexpected unindent.

 

===== copy of the file in its current state (I will probably modify the PR ====

https://pastebin.com/8bWrPZVJ

 


> Pydoc is giving criptic error messages
> --------------------------------------
>
>                 Key: BEAM-6761
>                 URL: https://issues.apache.org/jira/browse/BEAM-6761
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Alex Amato
>            Priority: Major
>
> This is blocking my PR at the moment, the output doesn't seem to match the file and I am not sure how to proceed
> pydoc Output
>  [https://scans.gradle.com/s/im6t66hhy4bdq/console-log?task=:beam-sdks-python:docs#L3|https://www.google.com/url?q=https://scans.gradle.com/s/im6t66hhy4bdq/console-log?task%3D:beam-sdks-python:docs%23L3&sa=D&source=hangouts&ust=1551564233723000&usg=AFQjCNEblSgvJ5E5k_TxqgGujKeUGfuIOw]
> Files
>  [https://github.com/apache/beam/pull/7936/files|https://www.google.com/url?q=https://github.com/apache/beam/pull/7936/files&sa=D&source=hangouts&ust=1551564233724000&usg=AFQjCNGXSwba2Q4Aod3FAVcYhQXOkQgYvQ]
>  
> /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:13: WARNING: Unexpected indentation.
>  /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:15: WARNING: Block quote ends without a blank line; unexpected unindent.
>  /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:18: WARNING: Definition list ends without a blank line; unexpected unindent.
>  /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:19: WARNING: Definition list ends without a blank line; unexpected unindent.
>  /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:21: WARNING: Unexpected indentation.
>  /usr/local/google/home/ajamato/go/src/github.com/apache/beam/sdks/python/apache_beam/testing/metric_result_matchers.py:docstring of apache_beam.testing.metric_result_matchers:22: WARNING: Block quote ends without a blank line; unexpected unindent.
>  
> ===== copy of the file in its current state (I will probably modify the PR ====
> [https://pastebin.com/8bWrPZVJ]
>  



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