Skip to content

Commit 7b81a23

Browse files
jasonmortonJon Wayne Parrott
authored andcommitted
1 parent 4e8f7c5 commit 7b81a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/samples/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)