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