Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cassandra-python-driver
/ read_stringmap
Function
read_stringmap
cassandra/protocol.py:1390–1396 ·
view source on GitHub ↗
(f)
Source
from the content-addressed store, hash-verified
1388
1389
1390
def
read_stringmap(f):
1391
numpairs = read_short(f)
1392
strmap = {}
1393
for
_ in range(numpairs):
1394
k = read_string(f)
1395
strmap[k] = read_string(f)
1396
return
strmap
1397
1398
1399
def
write_stringmap(f, strmap):
Callers
1
test_write_read_stringmap
Method · 0.90
Calls
2
read_short
Function · 0.85
read_string
Function · 0.85
Tested by
1
test_write_read_stringmap
Method · 0.72