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
    • Resolution: Fixed
    • Major
    • 3.2.4
    • 3.2.3
    • 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

            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