upload: Rename attachment_vips_source, as it's not just for vips_source.

This commit is contained in:
Alex Vandiver
2025-07-29 14:42:04 +00:00
committed by Tim Abbott
parent e37ee13577
commit 085d137871
9 changed files with 17 additions and 17 deletions

View File

@@ -273,7 +273,7 @@ class S3UploadBackend(ZulipUploadBackend):
filehandle.write(chunk)
@override
def attachment_vips_source(self, path_id: str) -> StreamingSourceWithSize:
def attachment_source(self, path_id: str) -> StreamingSourceWithSize:
metadata = self.uploads_bucket.Object(path_id).get()
def s3_read(streamingbody: StreamingBody, size: int) -> bytes: