Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-337

Library should use ':type'/':rtype' or pep484 compliant typehints

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • .future
    • 2.0.7
    • docs, library
    • None

    Description

      By adding the ':type' and ':rtype' it improves autocompletion / static analysis in IDEs. Alternatively PEP484 (typehints) was updated recently to add Python2.7 (and technically prior) compatibility: https://www.python.org/dev/peps/pep-0484/#suggested-syntax-for-python-2-7-and-straddling-code

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jared.casey Jared Casey
            will.gardner Will Gardner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty