-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Simplify VertexAI with Suppliers.memorize and avoid accessing pr…
…ivate members in tests. (#10694) - Implement lazy init using Suppliers.memorize instead of an explicit lock. - Add a newBuilder method in VertexAI. - Updates unit tests to avoid accessing private fields in VertexAI. PiperOrigin-RevId: 624303836 Co-authored-by: A Vertex SDK engineer <[email protected]>
- Loading branch information
1 parent
ae22f1c
commit 7bdfa55
Showing
4 changed files
with
103 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.