upload: Realm is not Optional in upload_export_tarball.

af4eb8c0d5 marked the base class and local backend as non-Optional,
but left the S3 backend as Optional for some reason.

Remove it.
This commit is contained in:
Alex Vandiver 2023-03-03 20:15:16 +00:00 committed by Tim Abbott
parent 91ac5c3c8b
commit a5bf452202
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ class S3UploadBackend(ZulipUploadBackend):
@override @override
def upload_export_tarball( def upload_export_tarball(
self, self,
realm: Realm | None, realm: Realm,
tarball_path: str, tarball_path: str,
percent_callback: Callable[[Any], None] | None = None, percent_callback: Callable[[Any], None] | None = None,
) -> str: ) -> str: