OCHA-DAP / hdx-cli-toolkit

A commandline tool for interacting with HDX with a view to doing bulk updates
MIT License
1 stars 0 forks source link

Add resource ordering issue #17

Open IanHopkinson opened 8 months ago

IanHopkinson commented 8 months ago

In implementing "update_resource" to add a new resource at first position we found we had to do an explicit add then reorder despite specifying order matching. This is not how the hdx-python-api is expected to work, and test code elsewhere demonstrates this functionality. This ticket is a placeholder for further investigation.

The first step is probably to add a test to test_integration.py which uses @mcarans method without the separate re-ordering step.