Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
atimin committed Mar 6, 2024
1 parent c358e53 commit 95ce8b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pip install reduct-py
Here is an example of how to use this package to create a bucket, write data to it, and read data from it:

```python
import time
from datetime import datetime
import asyncio
from reduct import Client, Bucket

Expand All @@ -41,7 +41,7 @@ async def main():
bucket: Bucket = await client.create_bucket("my-bucket", exist_ok=True)

# Write data to the bucket
ts = time.time_ns() / 1000
ts = datetime.now()
await bucket.write("entry-1", b"Hey!!", ts)

# Read data from the bucket
Expand Down

0 comments on commit 95ce8b8

Please sign in to comment.