Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7671

Document optional kwargs argument in Partition Ptransform

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-core
    • None

    Description

      All PTransforms that accept a callable accept kwargs that will be passed to the callable.
      Some PTransfoms document that in their docstring, for example, see Map[1].

      It looks like Partition transform does not document kwargs in docstring, althougth it also accepts them [2].

      [1] https://github.com/apache/beam/blob/05900a43de1f380f124c688cd8d804b5133bda64/sdks/python/apache_beam/transforms/core.py#L1277

      [2] https://github.com/apache/beam/blob/05900a43de1f380f124c688cd8d804b5133bda64/sdks/python/apache_beam/transforms/core.py#L1934

      Attachments

        Activity

          People

            Unassigned Unassigned
            tvalentyn Valentyn Tymofieiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: