Skip to content

Commit

Permalink
Update snippets.py (#815)
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 25cedf2 commit 11c4a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spanner/cloud-client/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 11c4a20

Please sign in to comment.