fix: update google api toolset to remove 'match' for python 3.9 compliant

PiperOrigin-RevId: 758438091
This commit is contained in:
Xiang (Sean) Zhou
2025-05-13 17:20:32 -07:00
committed by Copybara-Service
parent d046367826
commit da55b5a943
3 changed files with 86 additions and 88 deletions

View File

@@ -130,7 +130,7 @@ class ApplicationIntegrationToolset:
self.tool_name = tool_name
self.tool_instructions = tool_instructions
self.service_account_json = service_account_json
self.tool_filter = tool_filter
self._tool_filter = tool_filter
integration_client = IntegrationClient(
project,
@@ -191,7 +191,7 @@ class ApplicationIntegrationToolset:
spec_dict=spec_dict,
auth_credential=auth_credential,
auth_scheme=auth_scheme,
tool_filter=self.tool_filter,
tool_filter=self._tool_filter,
)
return