Skip to content

Commit c7b3163

Browse files
committed
ENH(jsonp) try 1st collection-resolver ...
to avoid repetitive debug-logs aboutt list-index in-covertsion.
1 parent 008d5ce commit c7b3163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphtik/jsonpointer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@ def resolve_path(
225225
:author: Julian Berman, ankostis
226226
"""
227227
part_indexers = [
228-
lambda doc, part: doc[int(part)],
229228
operator.getitem,
229+
lambda doc, part: doc[int(part)],
230230
*((getattr,) if descend_objects else ()),
231231
]
232232

0 commit comments

Comments
 (0)