[ 
https://issues.apache.org/jira/browse/BEAM-5793?focusedWorklogId=157482&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-157482
 ]

ASF GitHub Bot logged work on BEAM-5793:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/Oct/18 10:33
            Start Date: 23/Oct/18 10:33
    Worklog Time Spent: 10m 
      Work Description: robertwb closed pull request #6792: [BEAM-5793] Disable 
pylint 'self-argument' check
URL: https://github.com/apache/beam/pull/6792
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py 
b/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py
index dc5277c356e..d4a0dfc81fc 100644
--- a/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py
+++ b/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py
@@ -64,6 +64,7 @@ def set_message_count(self, message_count):
     self.config["message_count"] = message_count
     return self
 
+  # pylint: disable=no-self-argument
   @PTransform.register_urn("flink:transform:streaming_impulse:v1", None)
   def from_runner_api_parameter(spec_parameter, _unused_context):
     config = json.loads(spec_parameter)


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 157482)
    Time Spent: 50m  (was: 40m)

> Python sdk docs target fails in flink_streaming_impulse_source
> --------------------------------------------------------------
>
>                 Key: BEAM-5793
>                 URL: https://issues.apache.org/jira/browse/BEAM-5793
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-py-core
>            Reporter: Ruoyun Huang
>            Assignee: Maximilian Michels
>            Priority: Minor
>             Fix For: Not applicable
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> gradle scan result: [https://gradle.com/s/w4icffibxs72a]
> Error message: 
> projects/beam2/sdks/python/apache_beam/io/flink/flink_streaming_impulse_source.py:docstring
>  of 
> apache_beam.io.flink.flink_streaming_impulse_source.FlinkStreamingImpulseSource.from_runner_api_parameter:11:Unexpected
>  indentation.
>  
> Root cause seems to be that there are two annotations for a single function. 
> And sphinx does not like that. 



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

Reply via email to