From 55e1c3ca4dc781e4a8fbae327ce38c6bd7050419 Mon Sep 17 00:00:00 2001 From: mucio Date: Mon, 14 Oct 2024 14:07:53 +0200 Subject: [PATCH] added extended jsonpath_ng parser (#1941) --- dlt/common/jsonpath.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlt/common/jsonpath.py b/dlt/common/jsonpath.py index 7808d1c69c..46004a07d6 100644 --- a/dlt/common/jsonpath.py +++ b/dlt/common/jsonpath.py @@ -3,8 +3,8 @@ from dlt.common.typing import DictStrAny -from jsonpath_ng import parse as _parse, JSONPath, Fields as JSONPathFields - +from jsonpath_ng import JSONPath, Fields as JSONPathFields +from jsonpath_ng.ext import parse as _parse TJsonPath = Union[str, JSONPath] # Jsonpath compiled or str TAnyJsonPath = Union[TJsonPath, Iterable[TJsonPath]] # A single or multiple jsonpaths