File upload method accepts only path to the local file as a parameter. This is problematic for files from ActiveStorage, where file usually reside in the cloud.
This PR addresses this issue and adds also possibility to pass an instance of a Fila or StringIO to the upload method.
More validation. This PR also adds validation for purpose parameter.
File upload method accepts only path to the local file as a parameter. This is problematic for files from ActiveStorage, where file usually reside in the cloud. This PR addresses this issue and adds also possibility to pass an instance of a Fila or StringIO to the
upload
method.More validation. This PR also adds validation for
purpose
parameter.All Submissions: