feat(dbapi): wire timeout parameter through Connection to execute_sql by waiho-gumloop · Pull Request #16497 · googleapis/google-cloud-python

Skip to content

Navigation Menu

Sign in

Appearance settings

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

gemini-code-assist[bot]

Comment on lines +592 to +593

Comment on lines +236 to +237

Comment on lines +554 to +555