Skip to content

Commit 11c4a20

Browse files
jasonmortonJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Update snippets.py (#815)
1 parent 25cedf2 commit 11c4a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spanner/cloud-client/snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def read_only_transaction(instance_id, database_id):
379379
# is updated in-between the reads, the snapshot ensures that both
380380
# return the same data.
381381
keyset = spanner.KeySet(all_=True)
382-
results = database.read(
382+
results = snapshot.read(
383383
table='Albums',
384384
columns=('SingerId', 'AlbumId', 'AlbumTitle',),
385385
keyset=keyset,)

0 commit comments

Comments
 (0)