Skip to content

Commit

Permalink
fixing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielePalaia committed May 28, 2024
1 parent 4be9a95 commit c51ffdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The client supports two codecs to store the messages to the server:
By default you should use `AMQP 1.0` codec:
```python
amqp_message = AMQPMessage(
body="hello: {}".format(i),
body=bytes("hello: {}".format(i), "utf-8"),
)
```

Expand Down Expand Up @@ -287,7 +287,7 @@ This one:
```python
for i in range(1_000_000):
amqp_message = AMQPMessage(
body="hello: {}".format(i),
body=bytes("hello: {}".format(i), "utf-8"),
)
# send is asynchronous
await producer.send(stream=STREAM, message=amqp_message)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rstream"
version = "0.19.1"
version = "0.20.0"
description = "A python client for RabbitMQ Streams"
authors = ["George Fortunatov <qweeeze@gmail.com>", "Daniele Palaia <dpalaia@vmware.com>"]
readme = "README.md"
Expand Down

0 comments on commit c51ffdc

Please sign in to comment.