-
Couldn't load subscription status.
- Fork 1.2k
Closed
Labels
awaiting responsewe are waiting for your reply, please respond! :)we are waiting for your reply, please respond! :)enhancementEnhances DVCEnhances DVCfeature requestRequesting a new featureRequesting a new feature
Description
Hello,
I believe --xpath does not support filtering by regular expressions.
Use case:
I have the following metrics file:
{
"groups": [
{
"name": "group-A-1",
"metrics": ...
},
{
"name": "group-A-2",
"metrics": ...
},
{
"name": "group-B-1",
"metrics": ...
},
}
and would like to get all groups from the A segment, but not the B segment.
Ideally, this would work:
dvc metrics show -x $.groups[?(@.name =~ /group-A-*/)]
Right now, only the == operator is supported.
Metadata
Metadata
Assignees
Labels
awaiting responsewe are waiting for your reply, please respond! :)we are waiting for your reply, please respond! :)enhancementEnhances DVCEnhances DVCfeature requestRequesting a new featureRequesting a new feature