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

Cannot instantiate UpsertOptions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta.1
    • 3.0.0-beta.2
    • None
    • None
    • 1

    Description

      When I do, I see...

          upsertOptions = UpsertOptions(timeout=Seconds(100))
        File "/usr/local/lib/python3.7/site-packages/couchbase/collection.py", line 708, in __init__
          super(CBCollection.UpsertOptions, self).__init(*args, **kwargs)
      AttributeError: 'super' object has no attribute '_UpsertOptions__init'
      

      I'd guess we are not calling _init_()? I'll take a look.

      Attachments

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

        Activity

          david.kelly David Kelly added a comment -

          This was fixed awhile ago. We still have another issue open for this – but that is more for exposing the options in a friendly manner, etc...

          david.kelly David Kelly added a comment - This was fixed awhile ago. We still have another issue open for this – but that is more for exposing the options in a friendly manner, etc...

          People

            david.kelly David Kelly
            david.kelly David Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty