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)

Reply via email to