Skip to content

Commit aaa7fbe

Browse files
committed
refactoring
1 parent c6329c3 commit aaa7fbe

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

examples/getting_started/getting_started.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
AddressHelper,
66
AMQPMessagingHandler,
77
Connection,
8+
Converter,
89
Environment,
910
Event,
1011
ExchangeSpecification,
1112
ExchangeToQueueBindingSpecification,
1213
Message,
1314
OutcomeState,
14-
QuorumQueueSpecification, Converter,
15+
QuorumQueueSpecification,
1516
)
1617

1718
MESSAGES_TO_PUBLISH = 100

examples/oauth/oaut.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
AddressHelper,
1111
AMQPMessagingHandler,
1212
Connection,
13+
Converter,
1314
Environment,
1415
Event,
1516
ExchangeSpecification,
@@ -18,7 +19,6 @@
1819
OAuth2Options,
1920
OutcomeState,
2021
QuorumQueueSpecification,
21-
Converter
2222
)
2323

2424
MESSAGES_TO_PUBLISH = 100

examples/reconnection/reconnection_example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
AMQPMessagingHandler,
55
Connection,
66
ConnectionClosed,
7+
Converter,
78
Environment,
89
Event,
910
ExchangeSpecification,
1011
ExchangeToQueueBindingSpecification,
1112
Message,
12-
QuorumQueueSpecification, Converter,
13+
QuorumQueueSpecification,
1314
)
1415

1516
# here we keep track of the objects we need to reconnect

examples/tls/tls_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
AddressHelper,
88
AMQPMessagingHandler,
99
Connection,
10+
Converter,
1011
CurrentUserStore,
1112
Environment,
1213
Event,
@@ -20,7 +21,6 @@
2021
QuorumQueueSpecification,
2122
WinClientCert,
2223
WinSslConfigurationContext,
23-
Converter,
2424
)
2525
from rabbitmq_amqp_python_client.ssl_configuration import (
2626
FriendlyName,

tests/test_consumer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
AddressHelper,
33
ArgumentOutOfRangeException,
44
Connection,
5+
Converter,
56
Environment,
6-
QuorumQueueSpecification, Converter,
7+
QuorumQueueSpecification,
78
)
89

910
from .conftest import (

tests/test_publisher.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
ArgumentOutOfRangeException,
66
Connection,
77
ConnectionClosed,
8+
Converter,
89
Environment,
910
Message,
1011
OutcomeState,
1112
QuorumQueueSpecification,
1213
RecoveryConfiguration,
1314
StreamSpecification,
14-
ValidationCodeException, Converter,
15+
ValidationCodeException,
1516
)
1617

1718
from .http_requests import delete_all_connections

tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from rabbitmq_amqp_python_client import (
88
AddressHelper,
99
Connection,
10+
Converter,
1011
Delivery,
1112
ExchangeSpecification,
1213
ExchangeToQueueBindingSpecification,
@@ -15,7 +16,6 @@
1516
Message,
1617
Publisher,
1718
QuorumQueueSpecification,
18-
Converter,
1919
)
2020

2121

0 commit comments

Comments
 (0)