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/08 11:08:38 UTC

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

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

Tibor Kiss resolved BEAM-1635.
------------------------------
       Resolution: Fixed
    Fix Version/s: First stable release

Resolved with commit 0ff1ec9504c0427f9fd7e150660db1b687647110.

> 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
>             Fix For: First stable release
>
>
> 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)