Skip to content

Commit

Permalink
mention timestamp is in UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
asloobq committed Aug 22, 2024
1 parent 4afcdd7 commit 99d2a2e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/sdks/sdk-ref-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ The following examples are valid timestamp strings:
since_timestamp = '2024-08-18T14:30:15+00:00'
identity_buckets_response = client.get_identity_buckets(datetime.fromisoformat(since_timestamp))
```
3. Iterate through the list of rotated salt buckets and extract the `bucket_id` and `last_updated` timestamp as follows:
3. The `IdentityBucketsResponse` object contains the `bucket_id` and the `last_updated` timestamp which is in UTC. Iterate through the list of rotated salt buckets and extract the `bucket_id` and `last_updated` timestamp as follows:
```py
if identity_buckets_response.buckets:
for bucket in identity_buckets_response.buckets:
Expand All @@ -269,7 +269,6 @@ The following examples are valid timestamp strings:
else:
print("No bucket was returned")
```

## Usage for DSPs

The following instructions provide an example of how you can decode <Link href="../ref-info/glossary-uid#gl-bidstream">bidstream</Link> tokens using the SDK for Python as a DSP.
Expand Down

0 comments on commit 99d2a2e

Please sign in to comment.