Skip to content

Commit 86ff3e0

Browse files
committed
return a dict, not a defaultdict
1 parent ecd0376 commit 86ff3e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cassandra/metadata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2616,4 +2616,5 @@ def group_keys_by_replica(session, keyspace, table, keys):
26162616
# We will group under this statement all the keys for which
26172617
# we haven't found a valid replica
26182618
keys_per_host[NO_VALID_REPLICA].append(key)
2619-
return keys_per_host
2619+
2620+
return dict(keys_per_host)

0 commit comments

Comments
 (0)