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

Commit 2103a8a

Browse files
committed
use module level cache
1 parent edad384 commit 2103a8a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gapic/schema/api.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,7 @@ def proto(self) -> Proto:
12301230

12311231
global_collisions = frozenset(naive.names)
12321232
visited_messages: Set[wrappers.MessageType] = set()
1233+
self.context_cache = {}
12331234
# Return a context-aware proto object.
12341235
return dataclasses.replace(
12351236
naive,

0 commit comments

Comments
 (0)