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

Remove deprecated 'compare' argument from combiners.Top in PyDocs

Details

    • Improvement
    • Status: Open
    • P4
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-core
    • None

    Description

      PyDoc: https://beam.apache.org/releases/pydoc/2.12.0/apache_beam.transforms.combiners.html?#apache_beam.transforms.combiners.Top

      The combiners.Top PyDoc still shows the `compare` argument as usable. It is deprecated and results in an error in Python 3, but the PyDoc does not reflect that.

      It should say that the argument is deprecated in favor of using the `key` and `reverse` arguments.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dcavazos David Cavazos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: