ImperialCollegeLondon / safedata_validator

Python tools to validate and publish datasets using the safedata metadata format.
https://safedata-validator.readthedocs.io/
MIT License
2 stars 4 forks source link

Updating server resources upload #103

Closed davidorme closed 7 months ago

davidorme commented 7 months ago

This PR is to address #102:

It also documents the previously hidden show_resources subcommand and updates the similar safedata_zenodo show_config to use the same name.

Fixes #102

davidorme commented 7 months ago

The problem with solving #57 is that the function in zenodo and server need to interact with an external resource. I had the same thing with safedata which now mocks those interactions. I think that is the way forward here but it's a little bit more involved. Both zenodo and server would use the same mocked approach so might as well bundle them.