Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update() doesn't seem to work or I don't get it #63

Open
jbasko opened this issue Oct 14, 2018 · 1 comment
Open

update() doesn't seem to work or I don't get it #63

jbasko opened this issue Oct 14, 2018 · 1 comment

Comments

@jbasko
Copy link

jbasko commented Oct 14, 2018

Given:

 from jsonpath_rw import parse
 a = parse('$.a')
 x = {'a': None}
 y = {}

Both of these raise NotImplementedError:

 a.update(x, 1)
 a.update(y, 1)

I'm on Python 3.6.6

UPDATE: Ok, so update is not meant to add new keys. Which leaves a.update(x, 1).

@srhopkins
Copy link

srhopkins commented Dec 3, 2018

I think you're using pypi and not the repo?
Answered in #28 (comment)

They haven't had a release in a long time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants