Skip to content

Commit

Permalink
docs: update readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewthetechie authored Mar 31, 2023
1 parent fe0e8eb commit 992c4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ async def work_with_orm():
this_book.published_on=date(year=1851, month=10, day=18)
this_book_from_redis = await Book.select(ids=["Moby Dick"])
assert this_book_from_redis[0].author == "Herman Melville"
assert this_book_from_redis[0].author == date(year=1851, month=10, day=18)
assert this_book_from_redis[0].published_on == date(year=1851, month=10, day=18)

# Delete any number of items
await Library.delete(ids=["The Grand Library"])
Expand Down

0 comments on commit 992c4a1

Please sign in to comment.