MCPcopy Create free account
hub / github.com/apache/cassandra-python-driver / hash_fn

Method hash_fn

cassandra/metadata.py:1798–1799  ·  view source on GitHub ↗
(cls, key)

Source from the content-addressed store, hash-verified

1796
1797 @classmethod
1798 def hash_fn(cls, key):
1799 return key
1800
1801 @classmethod
1802 def from_key(cls, key):

Callers 2

test_bytes_tokensMethod · 0.45
from_keyMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_bytes_tokensMethod · 0.36