It would be helpful if you included any error messages, but I suspect it's
just a Python syntax problem--argument names can't contain a ":" character.

We should be able to get around this using a kwargs dict:

kwargs = {
    'extra_data:json-patch': {
        'op': 'replace',
        'path': 'beanbag_notefield_notes',
        'value': 'hsagds',
    },
}

draft.update(**kwargs)


David


On Tue, Mar 31, 2020 at 12:41 AM Hema <m.hemapr...@gmail.com> wrote:

> We use ReviewBoard 3.0.3 and RBTools 1.0.2. We try to update review
> request draft's beanbag_notefield_notes like below.
>
> draft = draft.update(extra_data:json-patch={'op':'replace',
> 'path':'beanbag_notefield_notes','value':'hsagds'})
>
> But it doesn't work. Could you please point the mistake, here?
>
> Thanks,
> Hemapriya.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/reviewboard/1405414c-2d37-4b71-a653-9828873ce591%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/1405414c-2d37-4b71-a653-9828873ce591%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/reviewboard/CAFS3VNUnv5GWL7VGFwmYCLD3VGdxDqSu4aGVeV4p3%3D5%3Dy6o7SA%40mail.gmail.com.

Reply via email to