Closed JulienPalard closed 3 years ago
Not happy with my first message, I tried again:
>>> jsonpatch.JsonPatch({'op': 'add', 'path': '/foo', 'value': 'bar'})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mdk/clones/stefankoegl/python-json-patch/jsonpatch.py", line 563, in __init__
raise InvalidJsonPatch("Document is expected to be sequence of "
jsonpatch.InvalidJsonPatch: Document is expected to be sequence of operations, got a sequence of strings.
Thanks :)
Closes https://github.com/stefankoegl/python-json-patch/issues/131