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
def upload_export_tarball(
self,
realm: Realm | None,
realm: Realm,
tarball_path: str,
percent_callback: Callable[[Any], None] | None = None,
) -> str: