Skip to content

Commit ac07ae3

Browse files
author
DanielePalaia
committed
consumer implementation
1 parent 1be8172 commit ac07ae3

File tree

4 files changed

+2
-112
lines changed

4 files changed

+2
-112
lines changed

examples/getting_started/main.pytmp

Lines changed: 0 additions & 102 deletions
This file was deleted.

rabbitmq_amqp_python_client/__init__.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,15 @@
33
from .address_helper import exchange_address, queue_address
44
from .common import QueueType
55
from .connection import Connection
6-
<<<<<<< HEAD
7-
=======
6+
87
from .consumer import Consumer
9-
>>>>>>> consumer_implementation
8+
109
from .entities import (
1110
BindingSpecification,
1211
ExchangeSpecification,
1312
)
1413
from .management import Management
1514
from .publisher import Publisher
16-
17-
from .qpid.proton._message import Message
18-
1915
from .qpid.proton._events import Event
2016
from .qpid.proton._message import Message
2117
from .qpid.proton.handlers import MessagingHandler
@@ -47,7 +43,6 @@
4743
"exchange_address",
4844
"queue_address",
4945
"Message",
50-
5146
"Consumer",
5247
"MessagingHandler",
5348
"Event",

rabbitmq_amqp_python_client/connection.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import logging
2-
32
from typing import Optional
43

54
from .consumer import Consumer
@@ -39,7 +38,6 @@ def publisher(self, destination: str) -> Publisher:
3938
publisher = Publisher(self._conn, destination)
4039
return publisher
4140

42-
4341
def consumer(
4442
self, destination: str, handler: Optional[MessagingHandler] = None
4543
) -> Consumer:

rabbitmq_amqp_python_client/qpid/proton/_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,6 @@ def create_receiver(
527527
handler=handler or fetcher,
528528
options=options,
529529
),
530-
531530
handler or fetcher,
532531
credit=prefetch,
533532
)

0 commit comments

Comments
 (0)