stefankoegl / python-json-pointer

Resolve JSON Pointers in Python
https://python-json-pointer.readthedocs.org/
Other
140 stars 43 forks source link

Make `.get_part` an class method #36

Closed curlup closed 3 years ago

curlup commented 5 years ago

It basically doesn't need access to self, only to class itself, right?

https://github.com/stefankoegl/python-json-pointer/blob/277e106016db0e81c64c561052be5360b9870974/jsonpointer.py#L231

stefankoegl commented 5 years ago

Hi! That's right. Could you submit a corresponding pull request?

stefankoegl commented 3 years ago

I have just released v2.2 with the change from #46