ironflock 1.3.7__py3-none-any.whl → 1.3.8__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.
@@ -156,9 +156,10 @@ class CrossbarConnection:
156
156
  print(f"Connection to IronFlock app realm {self.realm} closed: {details.reason}")
157
157
 
158
158
  if self._first_connection_future and not self._first_connection_future.done():
159
- self._first_connection_future.set_exception(
160
- Exception(f"Connection closed: {details.reason}")
161
- )
159
+ print(f"⚠️ Initial connection attempt failed: {details.reason}")
160
+ print("🔄 Will keep trying to reconnect...")
161
+ # Resolve the future so start() doesn't crash, Autobahn will keep retrying
162
+ self._first_connection_future.set_result(None)
162
163
 
163
164
  async def _on_disconnect(self, session: ApplicationSession, was_clean: bool):
164
165
  """Handle disconnect event"""
ironflock/__init__.py CHANGED
@@ -7,4 +7,4 @@ __all__ = [
7
7
  "Stage"
8
8
  ]
9
9
 
10
- __version__ = "1.3.7"
10
+ __version__ = "1.3.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ironflock
3
- Version: 1.3.7
3
+ Version: 1.3.8
4
4
  Summary: IronFlock Python SDK for connecting to the IronFlock Platform
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -117,3 +117,21 @@ twine upload dist/*
117
117
  ```
118
118
 
119
119
  Check the package at https://pypi.org/project/ironflock/.
120
+
121
+ ## Test Deployment
122
+
123
+ To test the package before deploying to pypi you can use test.pypi.
124
+
125
+ ```shell
126
+ just clean build publish-test
127
+ ```
128
+
129
+ Once the package is published you can use it in other code by putting
130
+ these lines at the top of the requirements.txt
131
+
132
+ ```
133
+ --index-url https://test.pypi.org/simple/
134
+ --extra-index-url https://pypi.org/simple/
135
+ ```
136
+
137
+
@@ -0,0 +1,8 @@
1
+ ironflock/CrossbarConnection.py,sha256=S-vjfjIdNpvfNnsPhCV18JHuFN36tpCzqbwxbwHpmow,14301
2
+ ironflock/__init__.py,sha256=FzPwMngsi8VXjeFYfK6D-3a17SbYFIPErWG1cA5qT0c,203
3
+ ironflock/ironflock.py,sha256=sLP0Mfp3bgtyE0Qv7LTUDOY8YlRDM0PxJG8eZplluoU,19536
4
+ ironflock/types.py,sha256=yync91abyrI1fqbmczW5My7Skx7-8soENGHK2JfaEz0,11962
5
+ ironflock-1.3.8.dist-info/METADATA,sha256=257ZiWssGu7T5iqAQtJXZRjp4pXX03peTHaqBLBp0VA,3820
6
+ ironflock-1.3.8.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
7
+ ironflock-1.3.8.dist-info/licenses/LICENSE,sha256=GpUKjPB381nmkbBIdX74vxXhsNZaNpngTOciss39Pjk,1073
8
+ ironflock-1.3.8.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- ironflock/CrossbarConnection.py,sha256=WcxFl7ai_59G3-_AdPAMU1mE0TWDaQ1qLARG0rIyMPk,14151
2
- ironflock/__init__.py,sha256=pOMdngbXI4dydtcQCeRyP2NdJ40M2Tz50--twGIJRNU,203
3
- ironflock/ironflock.py,sha256=sLP0Mfp3bgtyE0Qv7LTUDOY8YlRDM0PxJG8eZplluoU,19536
4
- ironflock/types.py,sha256=yync91abyrI1fqbmczW5My7Skx7-8soENGHK2JfaEz0,11962
5
- ironflock-1.3.7.dist-info/METADATA,sha256=8zX72CW1w5Xti5_Nam0WvInGgx-fKfhDopcjeMd2C-o,3473
6
- ironflock-1.3.7.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
7
- ironflock-1.3.7.dist-info/licenses/LICENSE,sha256=GpUKjPB381nmkbBIdX74vxXhsNZaNpngTOciss39Pjk,1073
8
- ironflock-1.3.7.dist-info/RECORD,,