Skip to content

Commit

Permalink
Keep crisis tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarans committed Jul 25, 2024
1 parent a0a4345 commit 94c50a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hdx/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,10 @@ def _dataset_hdx_update(
match_resource_order,
**kwargs,
)
for tag in self.data["tags"]:
if tag["name"][:7] != "crisis-":
continue
self.old_data["tags"].append(tag)
self._prepare_hdx_call(self.old_data, kwargs)
return self._revise_dataset(
keys_to_delete,
Expand Down

0 comments on commit 94c50a9

Please sign in to comment.