Robert Bradshaw created BEAM-2611: ------------------------------------- Summary: 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 Reporter: Robert Bradshaw Assignee: Ahmet Altay
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 (v6.4.14#64029)