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

        1. image-2020-01-07-18-57-12-458.png
          18 kB
          Ellis Breen
        2. image-2020-01-07-18-58-00-324.png
          18 kB
          Ellis Breen
        3. image-2020-01-07-18-58-42-579.png
          25 kB
          Ellis Breen
        4. image-2020-01-07-18-59-38-661.png
          16 kB
          Ellis Breen
        5. image-2020-01-07-19-00-15-834.png
          31 kB
          Ellis Breen
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        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:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty