This PR productionises the remove_extras_key command so that it aligns with the form of the list and update in terms of methods for providing the datasets to be addressed and also outputs results to an output_path.
This is rather tricky to test since the extras key is "illegal" meaning you can't create a dataset with it.
31
Major file changes
Updates in cli.py and hdx_utilities.py
Minor file changes
The DEMO.MD and README.MD files get updated. As does the version in pyproject.toml. We add a new utility for comparing dictionaries to utilities.py.
Versioning
hdx-cli-toolkit uses the CalVer versioning scheme with format YYYY.MM.Micro i.e. 2022.12.1 which is updated manually in pyproject.toml. The "Micro" component is simply an integer increased by 1 at each version, starting from 0.
[x] Version updated in pyproject.toml and PR description
[x] Update README.md and DEMO.md with any new CLI commands
Purpose
Version for this PR: 2024.6.2
This PR productionises the
remove_extras_key
command so that it aligns with the form of thelist
andupdate
in terms of methods for providing the datasets to be addressed and also outputs results to an output_path.This is rather tricky to test since the
extras
key is "illegal" meaning you can't create a dataset with it.31
Major file changes
Updates in
cli.py
andhdx_utilities.py
Minor file changes
The
DEMO.MD
andREADME.MD
files get updated. As does the version inpyproject.toml
. We add a new utility for comparing dictionaries toutilities.py
.Versioning
hdx-cli-toolkit
uses the CalVer versioning scheme with format YYYY.MM.Micro i.e. 2022.12.1 which is updated manually inpyproject.toml
. The "Micro" component is simply an integer increased by 1 at each version, starting from 0.pyproject.toml
and PR description