Closed Sumeet213 closed 1 month ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
Description of the change
Added threading support to
FileServiceClient
to makediscovery_api
thread-local.Motivation
Fixes a threading issue where multiple threads could simultaneously access
self._discovery_api
, leading to bugs. Makingdiscovery_api
thread-local gives each thread its own instance.Resolves: #327
Type of change
Bug fix
Checklist