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

create_primary_index() fails on 3.2.3

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.3
    • 3.2.4
    • None
    • None
    • 1

    Description

      What's the issue?
      In the latest (3.2.3) version of the Python SDK the QueryIndexManager function create_primary_index() fails with

      _create_index() takes from 3 to 4 positional arguments but 5 were given
      

      What's the fix?
      Change

      self._create_index(bucket_name, [], index_name, *options, **final_args)
      

      in create_primary_index() to

      self._create_index(bucket_name, [], index_name, **final_args)
      

      similarly to how this is done in create_index().

      Attachments

        Issue Links

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

          Activity

            jared.casey Jared Casey added a comment -

            Hi Maksimiljans Januska - A fix for this issue should be w/in the next release. You can pass in options via kwargs in the interim as a work-around.

            jared.casey Jared Casey added a comment - Hi Maksimiljans Januska - A fix for this issue should be w/in the next release. You can pass in options via kwargs in the interim as a work-around.

            People

              jared.casey Jared Casey
              maks.januska Maksimiljans Januska
              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