mirror of https://github.com/zulip/zulip.git
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:
parent
91ac5c3c8b
commit
a5bf452202
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue