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

collection.get_and_touch fails with option with_expiry=True

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • library
    • None
    • 1

    Description

      Passing the "with_expiry" option to CBCollection .get_and_touch causes an exception:

      -> resp = cb_coll.get_and_touch(key, timedelta(60), GetOptions(with_expiry=True))
      (Pdb)couchbase.exceptions.InvalidArgumentException: <Bad/insufficient arguments provided, inner_cause='ttl' is an invalid keyword argument for this function, C Source=(src/get.c,494)>

       

      Attachments

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

        Activity

          People

            jared.casey Jared Casey
            reilbert Richard Eilbert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty