beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Kiss (JIRA)" <>
Subject [jira] [Created] (BEAM-1635) TypeError in AfterWatermark class's __repr__ method
Date Tue, 07 Mar 2017 11:56:38 GMT
Tibor Kiss created BEAM-1635:

             Summary: TypeError in AfterWatermark class's __repr__ method
                 Key: BEAM-1635
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Tibor Kiss
            Assignee: Tibor Kiss

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

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

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

This message was sent by Atlassian JIRA

View raw message