ergon-framework-python 0.2.4__py3-none-any.whl → 0.2.5__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.
- ergon/__init__.py +1 -1
- ergon/connector/rabbitmq/async_service.py +6 -0
- {ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/METADATA +3 -3
- {ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/RECORD +8 -8
- {ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/WHEEL +1 -1
- {ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/entry_points.txt +0 -0
- {ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/licenses/LICENSE +0 -0
- {ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/top_level.txt +0 -0
ergon/__init__.py
CHANGED
|
@@ -340,6 +340,10 @@ class AsyncRabbitMQService:
|
|
|
340
340
|
self._consumer_state = "connect_stalled"
|
|
341
341
|
await self._reset_connection("consume channel creation timed out")
|
|
342
342
|
raise
|
|
343
|
+
# async_timeout types __aexit__ as Optional[bool], so type checkers
|
|
344
|
+
# assume the block may swallow an exception and skip the assignment.
|
|
345
|
+
if self._consume_channel is None:
|
|
346
|
+
raise RuntimeError("RabbitMQ consume channel was not created")
|
|
343
347
|
# aio-pika exposes close_callbacks on current releases; retain the
|
|
344
348
|
# legacy add_close_callback fallback for older supported versions.
|
|
345
349
|
close_callbacks = getattr(self._consume_channel, "close_callbacks", None)
|
|
@@ -374,6 +378,8 @@ class AsyncRabbitMQService:
|
|
|
374
378
|
except asyncio.TimeoutError:
|
|
375
379
|
await self._reset_connection("publish channel creation timed out")
|
|
376
380
|
raise
|
|
381
|
+
if self._publish_channel is None:
|
|
382
|
+
raise RuntimeError("RabbitMQ publish channel was not created")
|
|
377
383
|
|
|
378
384
|
return self._publish_channel
|
|
379
385
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ergon-framework-python
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Ergon internal task-oriented project bootstrapper
|
|
5
5
|
Author-email: Ergondata Technologies <anza.vossos@protonmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -29,7 +29,7 @@ Requires-Dist: aio-pika>=9.0.0; extra == "all"
|
|
|
29
29
|
Requires-Dist: aiobotocore>=2.13.0; extra == "all"
|
|
30
30
|
Requires-Dist: asyncpg>=0.29.0; extra == "all"
|
|
31
31
|
Requires-Dist: boto3>=1.35.0; extra == "all"
|
|
32
|
-
Requires-Dist: ergon-platform-sdk
|
|
32
|
+
Requires-Dist: ergon-platform-sdk<0.5,>=0.2.0; extra == "all"
|
|
33
33
|
Requires-Dist: httpx>=0.28.0; extra == "all"
|
|
34
34
|
Requires-Dist: msal>=1.37.0; extra == "all"
|
|
35
35
|
Requires-Dist: nylas>=6.0.0; extra == "all"
|
|
@@ -37,7 +37,7 @@ Requires-Dist: openpyxl>=3.1.5; extra == "all"
|
|
|
37
37
|
Requires-Dist: pika>=1.3.0; extra == "all"
|
|
38
38
|
Requires-Dist: requests>=2.32.5; extra == "all"
|
|
39
39
|
Provides-Extra: ergon-platform
|
|
40
|
-
Requires-Dist: ergon-platform-sdk
|
|
40
|
+
Requires-Dist: ergon-platform-sdk<0.5,>=0.2.0; extra == "ergon-platform"
|
|
41
41
|
Requires-Dist: httpx>=0.28.0; extra == "ergon-platform"
|
|
42
42
|
Provides-Extra: excel
|
|
43
43
|
Requires-Dist: openpyxl>=3.1.5; extra == "excel"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ergon/__init__.py,sha256=
|
|
1
|
+
ergon/__init__.py,sha256=hbqoDUsBZa8zD8NEcXa3fz95Vrma_0vsK8VPmwrf9Vc,218
|
|
2
2
|
ergon/cli.py,sha256=CF8PvOjIguR18a657aEBEyhFXUoSVtSRVXv5PfnuWtA,6021
|
|
3
3
|
ergon/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
ergon/bootstrap/src/__project__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -83,7 +83,7 @@ ergon/connector/postgres/async_service.py,sha256=PdPnNElMKzLoov1as3Kcb_viuSyBaVE
|
|
|
83
83
|
ergon/connector/postgres/models.py,sha256=DL9wBdZ6QZPH1iVft71cTabnFUCH1Hg1RmG5f5E8578,1749
|
|
84
84
|
ergon/connector/rabbitmq/__init__.py,sha256=R0VuHRuKRbshm7drw7p3vi2Az6e8PjIsvT-JTtRwxxo,1478
|
|
85
85
|
ergon/connector/rabbitmq/async_connector.py,sha256=1ltA8wGcB91Sxq6xJcX0OeOTRd6co4cpq5drG-6gHAc,5175
|
|
86
|
-
ergon/connector/rabbitmq/async_service.py,sha256=
|
|
86
|
+
ergon/connector/rabbitmq/async_service.py,sha256=_J__aNcrxyKelqHJ4Hv0SsgDZcc71NPYgbXd498g71k,35568
|
|
87
87
|
ergon/connector/rabbitmq/connector.py,sha256=vsSzbVuuE8rKkwBfPgD97qTsqADxJGALnUvrEwZIL5Q,1633
|
|
88
88
|
ergon/connector/rabbitmq/helper.py,sha256=xlQGx2SGR2DC1fi-5BMlCOvWydWEFkcN7fPJjlNvGLA,372
|
|
89
89
|
ergon/connector/rabbitmq/models.py,sha256=Q8tFPdRuvSxVe70HlTBRY66DdrC7kXuSCbRjtPSSq6k,9910
|
|
@@ -116,9 +116,9 @@ ergon/telemetry/metrics.py,sha256=0T_CuNw9P5AG1U9k1-bNp1g7McyiNLUIt_zKyLOtrnA,28
|
|
|
116
116
|
ergon/telemetry/tracing.py,sha256=_ktiZWAgB1DU-uN91Mzr0iYNXxbCN21LnKiRo5SOJxY,4454
|
|
117
117
|
ergon/utils/__init__.py,sha256=M0_VCjMN7jvSPlRZLZHeFKTHAl1zu3BnAhjrzJjDfiI,57
|
|
118
118
|
ergon/utils/env.py,sha256=lji4xENvfHqg2GTGnzG95VKpxxM4f3DHIKKP61xQG08,621
|
|
119
|
-
ergon_framework_python-0.2.
|
|
120
|
-
ergon_framework_python-0.2.
|
|
121
|
-
ergon_framework_python-0.2.
|
|
122
|
-
ergon_framework_python-0.2.
|
|
123
|
-
ergon_framework_python-0.2.
|
|
124
|
-
ergon_framework_python-0.2.
|
|
119
|
+
ergon_framework_python-0.2.5.dist-info/licenses/LICENSE,sha256=bWCIhHzaadz_ecLdCdtwyMafeQ17s2d7_FSSuSuEcDs,1079
|
|
120
|
+
ergon_framework_python-0.2.5.dist-info/METADATA,sha256=_3C9ctu8paDztyUSDvFYVhTGtbRbb7JnWFSYQ6U7hC4,18381
|
|
121
|
+
ergon_framework_python-0.2.5.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
122
|
+
ergon_framework_python-0.2.5.dist-info/entry_points.txt,sha256=reZ934txb5OrtcNBgTGqCsXa1biUDQWubD2a9fGZynE,42
|
|
123
|
+
ergon_framework_python-0.2.5.dist-info/top_level.txt,sha256=KSPt6N7RzsjU7PRAalWQ9Cul7YTUxbo84yAJ-y2vLm8,6
|
|
124
|
+
ergon_framework_python-0.2.5.dist-info/RECORD,,
|
{ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{ergon_framework_python-0.2.4.dist-info → ergon_framework_python-0.2.5.dist-info}/top_level.txt
RENAMED
|
File without changes
|