ynput / ayon-python-api

Apache License 2.0
9 stars 3 forks source link

Upload file updates progress over time #113

Closed iLLiCiTiT closed 9 months ago

iLLiCiTiT commented 9 months ago

Description

Uploading is stream based and transfer progress can be captured. Methods uploading thumbnails are using upload_file method now (by allowing **kwargs to method).

martastain commented 9 months ago

ayon-backend now uses streaming read for thumbnails as well (originally it was used only for expected large files such as installers). Be aware that streaming may depend on reverse proxy configuration (caddy for example passes streaming requests by default, but nginx IIRC does not and buffers incoming requests)

iLLiCiTiT commented 9 months ago

Happy to change to load file to memory when we hit issues.