[
https://issues.apache.org/jira/browse/BEAM-2611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles updated BEAM-2611:
----------------------------------
Labels: documentation newbie starter (was: documentation newbie)
> 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
> Priority: Major
> Labels: documentation, newbie, starter
>
> 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
(v7.6.3#76005)