Skip to content
Snippets Groups Projects
Commit c8105419 authored by garciadeblas's avatar garciadeblas
Browse files

Replace jsonpath_ng by jsonpath_ng.ext to parse complex expressions based on filtered selections


This enhances the jsonpath output format in osmclient commands, allowing
the use of extended expressions based on selectors such as
'{.status.conditions[?(@.type=="Synced")].status}'.

Change-Id: Ic40f93e3e8e9a75b7685a81f4975a4cbe43e154b
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent 6bf4557d
No related branches found
No related tags found
No related merge requests found
Pipeline #18329 passed with stage
in 3 minutes and 30 seconds
......@@ -20,7 +20,7 @@ import json
import yaml
from prettytable import PrettyTable
from jsonpath_ng import parse
from jsonpath_ng.ext import parse
logger = logging.getLogger("osmclient")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment