You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Pablo Estrada (Jira)" <ji...@apache.org> on 2019/09/04 20:24:00 UTC

[jira] [Resolved] (BEAM-2611) Better document and validate arguments of WindowInto

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

Pablo Estrada resolved BEAM-2611.
---------------------------------
    Fix Version/s: 2.14.0
         Assignee: Pablo Estrada
       Resolution: Fixed

> Better document and validate arguments of WindowInto
> ----------------------------------------------------
>
>                 Key: BEAM-2611
>                 URL: https://issues.apache.org/jira/browse/BEAM-2611
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Robert Bradshaw
>            Assignee: Pablo Estrada
>            Priority: Major
>              Labels: documentation, newbie, starter
>             Fix For: 2.14.0
>
>
> The current documentation is
> {code:python}
>   def __init__(self, windowfn, **kwargs):
>     """Initializes a WindowInto transform.
>     Args:
>       windowfn: Function to be used for windowing
>     """
> {code}
> kwargs is taken to force keyword specification of the triggerfn, accumulation_mode, and timestamp_combiner, but the fact that these three arguments are the expected ones in the docstring. We should also validate that no other arguments are ignored (in particular, a missspelling of the above).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)