Skip to content

Commit eb62abe

Browse files
Bugfix wrong typing
Set type of JSONPath.eval_func to callable rather than typing.Callable
1 parent 22d7154 commit eb62abe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonpath/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class JSONPath:
7777
subx = defaultdict(list)
7878
result: list
7979
result_type: str
80-
eval_func: Callable
80+
eval_func: callable
8181

8282
def __init__(self, expr: str):
8383
expr = self._parse_expr(expr)

0 commit comments

Comments
 (0)