-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metrics: rework metrics implementation #3658
Conversation
a3fe66f
to
8ab3506
Compare
Need to use custom loader for yaml for metrics and params to load float as Decimal. That way it will be much nicer looking and we won't have to bother with precision. Will provide a separate PR. |
d374347
to
69aa10b
Compare
Dropping support for all types except json and yaml. No more xpath support. Fixes iterative#3572
) | ||
metrics_show_parser.add_argument( | ||
"-x", "--xpath", help="json/yaml path.", metavar="<path>", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we wanted to keep for metrics show (may be diff as well)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not in the same shape. As a filter - maybe, but later.
Do we flatten the table in metrics show as we do for metrics diff now? |
Not like in |
Dropping support for all types except json and yaml. No more xpath
support.
Fixes #3572
β I have followed the Contributing to DVC checklist.
π If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here. If the CLI API is changed, I have updated tab completion scripts.
@dmpetrov agreed to provide docs PR for this. π
Thank you for the contribution - we'll try to review it as soon as possible. π