hydroshare / hs_restclient

Python client for the https://www.hydroshare.org REST API
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

hs.getResourceFileList does not return info on empty folders #121

Open Elepert opened 4 years ago

Elepert commented 4 years ago

hs.getResourceFileList does not return information on empty folders. This causes issues when you try to make a new folder with that same name because the user doesn't know that it doesn't exist. To reproduce, add an empty folder to a HydroShare resource. resource_files = hs.getResourceFileList(resource_id)