qena-shared-lib 0.1.13__py3-none-any.whl → 0.1.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,10 +10,6 @@ from random import uniform
10
10
  from typing import (
11
11
  Any,
12
12
  Awaitable,
13
- Callable,
14
- Concatenate,
15
- Generic,
16
- ParamSpec,
17
13
  TypeVar,
18
14
  cast,
19
15
  )
@@ -55,13 +51,6 @@ __all__ = [
55
51
  ]
56
52
 
57
53
 
58
- E = TypeVar("E", bound=BaseException)
59
- P = ParamSpec("P")
60
- SyncExceptionHandler = Callable[Concatenate[ListenerContext, E, P], None]
61
- AsyncExcpetionHandler = Callable[
62
- Concatenate[ListenerContext, E, P], Awaitable[None]
63
- ]
64
- ExceptionHandler = SyncExceptionHandler[E, P] | AsyncExcpetionHandler[E, P]
65
54
  R = TypeVar("R")
66
55
 
67
56
 
@@ -75,7 +64,7 @@ class AbstractRabbitMQService(ABC):
75
64
  raise NotImplementedError()
76
65
 
77
66
 
78
- class RabbitMqManager(Generic[E, P], AsyncEventLoopMixin):
67
+ class RabbitMqManager(AsyncEventLoopMixin):
79
68
  RABBITMQ_CONNECTION_STATE = PrometheusEnum(
80
69
  name="rabbitmq_connection_state",
81
70
  documentation="Babbitmq connection state",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qena-shared-lib
3
- Version: 0.1.13
3
+ Version: 0.1.14
4
4
  Summary: A shared tools for other services
5
5
  Requires-Python: >=3.10
6
6
  Requires-Dist: cronsim==2.6
@@ -13,7 +13,7 @@ qena_shared_lib/dependencies/__init__.py,sha256=W12RgJbhqZ9GiSV1nLlHmpwPzvQv8t7f
13
13
  qena_shared_lib/dependencies/http.py,sha256=IBsMnRr8Jh8ixf2IcU6n1aYRMazI3fF9GLZxHM2dsXk,1492
14
14
  qena_shared_lib/dependencies/miscellaneous.py,sha256=iGwAjatXb_JVSF13n1vdTRAgSKv19VtHo9ZbjjbkIco,753
15
15
  qena_shared_lib/rabbitmq/__init__.py,sha256=1Rw7OP-A9UacuQWHzKbSOa9zFHa4FsEyFTVgAps01tw,1267
16
- qena_shared_lib/rabbitmq/_base.py,sha256=Bf9gV5MSUQrVgky9FxLr0Htp7lv2mdYiVftacSzLHQk,23043
16
+ qena_shared_lib/rabbitmq/_base.py,sha256=JYdW-gchL82wGCaRR3mjSAXPUUYd8CAxioZqIBhMc6I,22670
17
17
  qena_shared_lib/rabbitmq/_channel.py,sha256=yb3pCv6i7D5zXAvusOM3aSw-MWy-wfbEym4mOlKZV9E,5882
18
18
  qena_shared_lib/rabbitmq/_exception_handlers.py,sha256=Gc8IXWLddl0qr7KHXWjyq_Rl52zMlb8iQiLO-2zwvlk,5757
19
19
  qena_shared_lib/rabbitmq/_listener.py,sha256=i3Y8pqUuVl_I5Fxt8o-KFEPIbZSL9_oj8pFhUCwOcgo,48346
@@ -26,6 +26,6 @@ qena_shared_lib/remotelogging/logstash/__init__.py,sha256=-sg2V8gYuAKtnHSXfLorpd
26
26
  qena_shared_lib/remotelogging/logstash/_base.py,sha256=ZNxE9SjZJW3sWKUUn3i52__X0mZuykaZLL3mp-52EOQ,961
27
27
  qena_shared_lib/remotelogging/logstash/_http_sender.py,sha256=kTUdHE1OOSI72tDbIxmwv1-g8shHldfZ0-nBoSu8TyU,1810
28
28
  qena_shared_lib/remotelogging/logstash/_tcp_sender.py,sha256=hIxDW2zEM07rr7BtgmJ5gR9Cs-MXiPD9qtQoVnrmNJ8,2467
29
- qena_shared_lib-0.1.13.dist-info/METADATA,sha256=04KQYaa0W6oMZGRfMrQTHphal21JOMFsKCpxgy2SKMA,11413
30
- qena_shared_lib-0.1.13.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
- qena_shared_lib-0.1.13.dist-info/RECORD,,
29
+ qena_shared_lib-0.1.14.dist-info/METADATA,sha256=GWGe51QzF_Jixj796LMl2DUSqlV6ERObFO4YERFaEzY,11413
30
+ qena_shared_lib-0.1.14.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
31
+ qena_shared_lib-0.1.14.dist-info/RECORD,,