File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -711,7 +711,7 @@ def make_aspace_shelf(self, path: Path):
711711 for nodeid , ndata in self ._nodes .items ():
712712 s [nodeid .to_string ()] = ndata
713713
714- def load_aspace_shelf (self , path ):
714+ def load_aspace_shelf (self , path : Path ):
715715 """
716716 Load the standard address space nodes from a python shelve via LazyLoadingDict as needed.
717717 The dump() method can no longer be used if the address space is being loaded from a shelf
@@ -728,8 +728,8 @@ class LazyLoadingDict(collections.abc.MutableMapping):
728728 is currently NOT supported
729729 """
730730
731- def __init__ (self , source ):
732- self .source = source # python shelf
731+ def __init__ (self , source : shelve . Shelf ):
732+ self .source : shelve . Shelf = source # python shelf
733733 self .cache = {} # internal dict
734734
735735 def __getitem__ (self , key ):
You can’t perform that action at this time.
0 commit comments