update
This commit is contained in:
@@ -28,4 +28,4 @@ class NameSpaceState(HookedMapping[str]):
|
|||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
val = super().__getitem__(key)
|
val = super().__getitem__(key)
|
||||||
# print("ns GetItem")
|
# print("ns GetItem")
|
||||||
return DomainState(self.hook, existing=val, path=self._path + [key])
|
return DomainState(val, hook=self.hook, path=self.new_path(key))
|
||||||
|
|||||||
Reference in New Issue
Block a user