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

Commit 5f35500

Browse files
committed
revert to keyword arg
1 parent 530bf95 commit 5f35500

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gapic/utils/cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def wrapper(self, collisions, **kwargs):
8686

8787
context_cache = _get_cache()
8888
if context_cache is None:
89-
return func(self, collisions, **kwargs)
89+
return func(self, collisions=collisions, **kwargs)
9090

9191
# 2. Create the cache key
9292
collisions_key = frozenset(collisions) if collisions else None
@@ -98,7 +98,7 @@ def wrapper(self, collisions, **kwargs):
9898

9999
# 4. Execute the actual function
100100
# We ensure context_cache is passed down to the recursive calls
101-
result = func(self, collisions, **kwargs)
101+
result = func(self, collisions=collisions, **kwargs)
102102

103103
# 5. Update Cache
104104
context_cache[key] = result

0 commit comments

Comments
 (0)