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

Make OptionBlock arguments discoverable

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.0.0-rc
    • 3.0.0-beta.1
    • None
    • None
    • 1
    • SDK5: Docs, Pathfind Antorized

    Description

      One of the reasons to have an option block is simplified reuse of options. Thus, I should be able to create an object that has all of the options and is reused.

      When testing with Python, I didn't get IDE auto completion and despite the seemingly flexible constructor, I could not do things like this:

      uoptions = UpsertOptions(expiration=Seconds(10))
      

      Attachments

        Activity

          People

            david.kelly David Kelly (Inactive)
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty