Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 6012919

Browse files
committed
update key
1 parent 5c13472 commit 6012919

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gapic/utils/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def wrapper(self, *, collisions, **kwargs):
9898
visited = kwargs.get('visited_messages')
9999
vis_key = tuple(sorted(id(m) for m in visited)) if visited else None
100100

101-
key = (id(self), col_key, skip_key, vis_key)
101+
key = (self, col_key, skip_key, vis_key)
102102

103103
# 3. Check Cache
104104
if key in context_cache:

0 commit comments

Comments
 (0)