feat(dbapi): wire timeout parameter through Connection to execute_sql by waiho-gumloop · Pull Request #16497 · googleapis/google-cloud-python
Navigation Menu
- Notifications You must be signed in to change notification settings
- Fork 1.7k
Conversation
Add a timeout property to Connection and pass timeout= to execute_sql() in the three DBAPI code paths that currently omit it: snapshot reads, transaction statements, and autocommit DML. When timeout is None (the default), timeout= is not passed, preserving the existing behavior of using gapic_v1.method.DEFAULT (3600s). Fixes googleapis#16492
This file contains hidden or 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