You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "David Cavazos (Jira)" <ji...@apache.org> on 2019/11/20 02:50:00 UTC

[jira] [Created] (BEAM-8784) Remove deprecated 'compare' argument from combiners.Top in PyDocs

David Cavazos created BEAM-8784:
-----------------------------------

             Summary: Remove deprecated 'compare' argument from combiners.Top in PyDocs
                 Key: BEAM-8784
                 URL: https://issues.apache.org/jira/browse/BEAM-8784
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
            Reporter: David Cavazos


TheĀ [combiners.Top PyDoc|[https://beam.apache.org/releases/pydoc/2.12.0/apache_beam.transforms.combiners.html?#apache_beam.transforms.combiners.Top]] 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)