aflorithmic / apiaudio-python

api.audio Python SDK
https://www.api.audio
MIT License
25 stars 4 forks source link

Adding processing loop in Speech and Mastering #71

Closed martinezpl closed 2 years ago

martinezpl commented 2 years ago

Implementing a loop_status_code attribute that triggers loops by repeating the requests.

The attribute is specified in the definition of API resource.

Speech.create, retrieve and download now do not return nor timeout when processing takes long (unless using sync=False flag). The methods keep running until a success/error code is returned.

Also some logging updates.