Skip to content

Commit 802d5f5

Browse files
Fix for Missing call to superclass __init__ during object initialization
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent dd1adc7 commit 802d5f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cassandra/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ def hash_fn(cls, key):
18921892

18931893
def __init__(self, token):
18941894
""" `token` is an int or string representing the token. """
1895-
self.value = int(token)
1895+
super().__init__(int(token))
18961896

18971897

18981898
class MD5Token(HashToken):

0 commit comments

Comments
 (0)