Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 18f1a6c

Browse files
committed
feat: Multiplexed sessions - Remove unnecessary divider comments
Signed-off-by: Taylor Curran <taylor.curran@improving.com>
1 parent 1126b0d commit 18f1a6c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

google/cloud/spanner_v1/session.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -537,18 +537,12 @@ def run_in_transaction(self, func, *args, **kw):
537537
previous_transaction_id: Optional[bytes] = None
538538

539539
while True:
540-
# [A] Build transaction
541-
# ---------------------
542-
543540
txn = self.transaction()
544541
txn.transaction_tag = transaction_tag
545542
txn.exclude_txn_from_change_streams = exclude_txn_from_change_streams
546543
txn.isolation_level = isolation_level
547544
txn._previous_transaction_id = previous_transaction_id
548545

549-
# [B] Run user operation
550-
# ----------------------
551-
552546
attempts += 1
553547
span_attributes = dict(attempt=attempts)
554548

@@ -593,9 +587,6 @@ def run_in_transaction(self, func, *args, **kw):
593587
txn.rollback()
594588
raise
595589

596-
# [C] Commit transaction
597-
# ----------------------
598-
599590
try:
600591
txn.commit(
601592
return_commit_stats=log_commit_stats,

0 commit comments

Comments
 (0)