Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

upload: Realm is not Optional in upload_export_tarball.

Alex Vandivera5bf45220226
diff --git a/zerver/lib/upload/s3.py b/zerver/lib/upload/s3.py
index c9e912cce7a..cd826e7ad9b 100644
--- a/zerver/lib/upload/s3.py
+++ b/zerver/lib/upload/s3.py
@@ -421,7 +421,7 @@ class S3UploadBackend(ZulipUploadBackend):
@override
def upload_export_tarball(
self,
- realm: Realm | None,
+ realm: Realm,
tarball_path: str,
percent_callback: Callable[[Any], None] | None = None,
) -> str: