We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d93a9f commit 65a08b1Copy full SHA for 65a08b1
pymongo_voyageai/storage.py
@@ -60,7 +60,7 @@ def __init__(
60
self.root_location = bucket_name
61
62
def save_image(self, image: ImageDocument) -> StoredDocument:
63
- object_name = str(ObjectId())
+ object_name = f"{ObjectId()}.png"
64
fd = io.BytesIO()
65
image.image.save(fd, "png")
66
fd.seek(0)
0 commit comments