我有下面的示例python代码来查询云扳手:
from google.cloud import spanner
client = spanner.Client()
instance = client.instance(INSTANCE_ID)
database = instance.database(DATABASE_ID)
with database.snapshot() as snapshot:
results = snapshot.execute_sql("SELECT * FROM Albums")
for row in results: