We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f0767 commit 9e14a45Copy full SHA for 9e14a45
docs/spanner/snapshot-usage.rst
@@ -24,7 +24,7 @@ reads as of a given timestamp:
24
25
import datetime
26
from pytz import UTC
27
- TIMESTAMP = datetime.utcnow().replace(tzinfo=UTC)
+ TIMESTAMP = datetime.datetime.utcnow().replace(tzinfo=UTC)
28
snapshot = database.snapshot(read_timestamp=TIMESTAMP)
29
30
or as of a given duration in the past:
0 commit comments