Skip to content

Commit

Permalink
docs(spanner): update description of the timeout_secs parameter (#9381)
Browse files Browse the repository at this point in the history
Closes #9364
  • Loading branch information
emar-kar authored and tseaver committed Oct 29, 2019
1 parent b2f28ca commit ee62142
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions spanner/google/cloud/spanner_v1/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,10 @@ def run_in_transaction(self, func, *args, **kw):
:param args: additional positional arguments to be passed to ``func``.
:type kw: dict
:param kw: optional keyword arguments to be passed to ``func``.
:param kw: (Optional) keyword arguments to be passed to ``func``.
If passed, "timeout_secs" will be removed and used to
override the default timeout.
override the default retry timeout which defines maximum timestamp
to continue retrying the transaction.
:rtype: Any
:returns: The return value of ``func``.
Expand Down
5 changes: 3 additions & 2 deletions spanner/google/cloud/spanner_v1/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,10 @@ def run_in_transaction(self, func, *args, **kw):
:param args: additional positional arguments to be passed to ``func``.
:type kw: dict
:param kw: optional keyword arguments to be passed to ``func``.
:param kw: (Optional) keyword arguments to be passed to ``func``.
If passed, "timeout_secs" will be removed and used to
override the default timeout.
override the default retry timeout which defines maximum timestamp
to continue retrying the transaction.
:rtype: Any
:returns: The return value of ``func``.
Expand Down

0 comments on commit ee62142

Please sign in to comment.