minio / minio-py

MinIO Client SDK for Python
https://docs.min.io/docs/python-client-quickstart-guide.html
Apache License 2.0
852 stars 325 forks source link

SnowballObject.data wrong type signature #1448

Closed jhouben98 closed 2 weeks ago

jhouben98 commented 2 weeks ago

The SnowballObject -> Attribute "data" has the type "bytes" in it's signature. But when you actually pass bytes instead of io.BytesIO, this error occurs:

AttributeError: 'bytes' object has no attribute 'read'