From b30824baf92b9d0ad6b3047ab29b0efa81637c5e Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Mon, 10 Jun 2024 11:56:26 +0200 Subject: [PATCH] fix: removed --- music_kraken/download/components/__init__.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/music_kraken/download/components/__init__.py b/music_kraken/download/components/__init__.py index ab79e04..030d48f 100644 --- a/music_kraken/download/components/__init__.py +++ b/music_kraken/download/components/__init__.py @@ -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