Open DeannaDS opened 2 years ago
@DeannaDS fair enough—thanks for flagging this.
if you're up for opening a PR, this should be a fairly quick fix to this bit of code, perhaps incorporating a new utility function that can live here.
this might suffice as the utility method.
we could also let the user optionally pass in a function that defines the scheme for handling their own file name formatting.
If you pass in a label_key field to the downloads function, and the data in that field has characters that are not allowed in a file name, it does not escape them or gracefully fail. It hard fails with an "invalid argument"
OSError Traceback (most recent call last)