mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
Type annotation.
This commit is contained in:
parent
07e16b80b5
commit
6d412a017c
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user