beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Bradshaw (JIRA)" <>
Subject [jira] [Created] (BEAM-2611) Better document and validate arguments of WindowInto
Date Thu, 13 Jul 2017 04:36:00 GMT
Robert Bradshaw created BEAM-2611:

             Summary: Better document and validate arguments of WindowInto
                 Key: BEAM-2611
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Robert Bradshaw
            Assignee: Ahmet Altay

The current documentation is

  def __init__(self, windowfn, **kwargs):
    """Initializes a WindowInto transform.

      windowfn: Function to be used for windowing

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

View raw message