sdk-python
sdk-python copied to clipboard
Request: Python Method for downloading non-text inference results
Checklist
Please review first that the issue is fully related with this SDK by checking the relevant checkboxes ([x]
).
- [x ] I have a Modzy API Key active and have the entitlements to perform the desired action.
- [x ] I review that have access to Modzy API host.
- [x ] I think that is a error specific to the SDK.
- [x ] I review the documentation and existing issues in order to not duplicate existing ones.
- [x ] I am willing to follow-up on comments in a timely manner.
Info
- Modzy SDK version: 0.5.7
- Python version: Python 3.8
- Operating System: macOS Catalina (10.15.7)
Description
When you use models that produce a file output, Modzy saves that file, and then returns the location in the results object. To download that file, you need to do an authenticated GET request using cURL. It would be nice if Modzy's Python SDK had a method that automatically downloaded that file, or maybe let you send it to a specific location? Maybe something like...
client.results.download(name-of-file, file-save-location)
Just an idea.
Steps to reproduce
Paste the command(s) you ran and the output.
Expected results:
Actual results:
Traceback
Logs
Paste the logs that you consider useful for diagnostic.