Skip to content

Commit

Permalink
docs: fix grammar errors - 2
Browse files Browse the repository at this point in the history
  • Loading branch information
berrytern committed Oct 15, 2024
1 parent 97d9197 commit e67158b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions amqp_client_python/rabbitmq/async_eventbus_rabbitmq.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def __init__(
rpc_server_auto_ack: bool = False,
) -> None:
"""
Create an AsyncEventbusRabbitMQ object thats interacts with Bus
thats provides some connection management abstractions.
Create an AsyncEventbusRabbitMQ object that interacts with Bus that provides
some connection management abstractions
Args:
config: the Config object
Expand Down Expand Up @@ -107,7 +107,7 @@ async def rpc_client(
**kwargs
) -> bytes:
"""
Sends a publish message to queue of the bus and waits for a response
Sends a publish message to a queue of the bus and waits for a response
Args:
exchange: exchange name
Expand All @@ -124,9 +124,9 @@ async def rpc_client(
Raises:
AutoReconnectException: when cannout reconnect on the gived timeout
PublishTimeoutException: if publish confirmation is setted to True and \
PublishTimeoutException: if publish confirmation is set to True and \
does not receive confirmation on the gived timeout
NackException: if publish confirmation is setted to True and receives a nack
NackException: if publish confirmation is set to True and receives a nack
ResponseTimeoutException: if response timeout is reached
RpcProviderException: if the rpc provider responded with an error
Expand Down Expand Up @@ -164,7 +164,7 @@ async def publish(
**kwargs
) -> Optional[bool]:
"""
Sends a publish message to the bus following parameters passed
Sends a publish message to the bus following the parameters passed
Args:
exchange: exchange name
Expand All @@ -177,14 +177,14 @@ async def publish(
expiration: maximum lifetime of message to stay on the queue
Returns:
None: if publish confirmation is setted to False
True: if successful when publish confirmation is setted to True
None: if publish confirmation is set to False
True: if successful when publish confirmation is set to True
Raises:
AutoReconnectException: when cannout reconnect on the gived timeout
PublishTimeoutException: if publish confirmation is setted to True and \
PublishTimeoutException: if publish confirmation is set to True and \
does not receive confirmation on the gived timeout
NackException: if publish confirmation is setted to True and receives a nack
NackException: if publish confirmation is set to True and receives a nack
Examples:
Expand Down

0 comments on commit e67158b

Please sign in to comment.