You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Tibor Kiss (JIRA)" <ji...@apache.org> on 2017/03/07 11:56:38 UTC

[jira] [Created] (BEAM-1635) TypeError in AfterWatermark class's __repr__ method

Tibor Kiss created BEAM-1635:
--------------------------------

             Summary: TypeError in AfterWatermark class's __repr__ method
                 Key: BEAM-1635
                 URL: https://issues.apache.org/jira/browse/BEAM-1635
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Tibor Kiss
            Assignee: Tibor Kiss


Found through PyCharm code inspector:
AfterWatermark class in trigger.py implements {{__repr__}} method to create string representation of the object. 

Due to a typo in list append a TypeError can occur:
{code}
    if self.late:
      qualifiers.append('late=%s', self.late)
{code}

Fix is trivial: replace comma by percent to achieve string format operation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)