Since Python 3.4 the pathlib standard library offers an object-oriented representation of paths. pathlib.Path should be handled the same way str paths are, but currently Blob.download and Container.upload_blob would consider them file-like objects as they are not strings.
(I'm adding tests only to test_driver_amazon.py since really it's implemented in base.py).
Since Python 3.4 the
pathlib
standard library offers an object-oriented representation of paths.pathlib.Path
should be handled the same way str paths are, but currentlyBlob.download
andContainer.upload_blob
would consider them file-like objects as they are not strings.(I'm adding tests only to
test_driver_amazon.py
since really it's implemented inbase.py
).