fix: removed
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful

This commit is contained in:
Hazel 2024-06-10 11:56:26 +02:00
parent 130f5edcfe
commit b30824baf9

View File

@ -185,17 +185,6 @@ class Node(Generator[P]):
super(Node, self).__init__(**kwargs)
def hash_key(self, key: Any) -> int:
try:
key = int(key)
except ValueError:
pass
if isinstance(key, str):
return hash(unify(key))
return hash(key)
@property
def is_root(self) -> bool:
return self.parent is None