Type annotation.

This commit is contained in:
Itamar Turner-Trauring 2022-05-11 11:00:46 -04:00
parent 07e16b80b5
commit 6d412a017c

View File

@ -690,7 +690,7 @@ class StorageServer(service.MultiService):
self)
return share
def enumerate_mutable_shares(self, storage_index) -> set[int]:
def enumerate_mutable_shares(self, storage_index: bytes) -> set[int]:
"""List all share numbers for the given mutable.
Raises ``KeyError`` if the storage index is not known.