Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cassandra-python-driver
/ from_key
Method
from_key
cassandra/metadata.py:1802–1803 ·
view source on GitHub ↗
(cls, key)
Source
from the content-addressed store, hash-verified
1800
1801
@classmethod
1802
def
from_key(cls, key):
1803
return
cls(cls.hash_fn(key))
1804
1805
@classmethod
1806
def
from_string(cls, token_string):
Callers
2
insert_select_token
Method · 0.80
get_replicas
Method · 0.80
Calls
1
hash_fn
Method · 0.45
Tested by
1
insert_select_token
Method · 0.64