Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmorton authored and Jon Wayne Parrott committed Feb 22, 2017
1 parent 4e8f7c5 commit 7b81a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/samples/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def read_only_transaction(instance_id, database_id):
# is updated in-between the reads, the snapshot ensures that both
# return the same data.
keyset = spanner.KeySet(all_=True)
results = database.read(
results = snapshot.read(
table='Albums',
columns=('SingerId', 'AlbumId', 'AlbumTitle',),
keyset=keyset,)
Expand Down

0 comments on commit 7b81a23

Please sign in to comment.