Skip to content

Conversation

@mcarans
Copy link
Contributor

@mcarans mcarans commented Dec 17, 2025

When creating or updating a resource that doesn't have an id, if you do not supply a parameter dataset, but the resource contains a package_id then that id will be used to load a dataset. Then the resource will be assigned to that dataset and it will be compared to resources in that dataset. If a match is found, then the resource will be given the corresponding id and that resource on HDX will be overwritten.

…do not supply a parameter dataset, but the resource contains a package_id then that id will be used to load a dataset. Then the resource will be assigned to that dataset and it will be compared to resources in that dataset. If a match is found, then the resource will be given the corresponding id and that resource on HDX will be overwritten.
@github-actions
Copy link

Test Results

150 tests  ±0   150 ✅ ±0   1m 16s ⏱️ -5s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 84270f3. ± Comparison against base commit 3322f6b.

@coveralls
Copy link

Coverage Status

coverage: 97.131% (+0.07%) from 97.057%
when pulling 84270f3 on resource_dataset_handling
into 3322f6b on main.

@mcarans mcarans merged commit 7bdce07 into main Dec 17, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants