DLMS-SPODES-client 0.19.23__py3-none-any.whl → 0.19.24__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.
- DLMS_SPODES_client/task.py +4 -5
- {dlms_spodes_client-0.19.23.dist-info → dlms_spodes_client-0.19.24.dist-info}/METADATA +1 -1
- {dlms_spodes_client-0.19.23.dist-info → dlms_spodes_client-0.19.24.dist-info}/RECORD +6 -6
- {dlms_spodes_client-0.19.23.dist-info → dlms_spodes_client-0.19.24.dist-info}/WHEEL +0 -0
- {dlms_spodes_client-0.19.23.dist-info → dlms_spodes_client-0.19.24.dist-info}/entry_points.txt +0 -0
- {dlms_spodes_client-0.19.23.dist-info → dlms_spodes_client-0.19.24.dist-info}/top_level.txt +0 -0
DLMS_SPODES_client/task.py
CHANGED
|
@@ -224,10 +224,9 @@ class Base[T: result.Result](Protocol):
|
|
|
224
224
|
case _ as diagnostic:
|
|
225
225
|
return result.Error.from_e(exc.AssociationResultError(diagnostic))
|
|
226
226
|
if c._objects is not None:
|
|
227
|
-
if c.is_universal()
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
await match_ldn.exchange(c)
|
|
227
|
+
matchLDN = change_ldn if c.is_universal() else match_ldn
|
|
228
|
+
if isinstance(res_match_ldn := await matchLDN.exchange(c), result.Error):
|
|
229
|
+
return res_match_ldn
|
|
231
230
|
return result.OK
|
|
232
231
|
|
|
233
232
|
async def application(self, c: Client) -> T | result.Error:
|
|
@@ -728,7 +727,7 @@ class MatchLDN(OK):
|
|
|
728
727
|
c.log(logL.WARN, F"connected to other server, change LDN")
|
|
729
728
|
await init_type.exchange(c) # todo: maybe set spec?
|
|
730
729
|
else:
|
|
731
|
-
return result.Error
|
|
730
|
+
return result.Error.from_e(ValueError(F"got LDN: {res.value}, expected {c._objects.LDN.value}"))
|
|
732
731
|
return result.OK
|
|
733
732
|
|
|
734
733
|
|
|
@@ -6,7 +6,7 @@ DLMS_SPODES_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
6
6
|
DLMS_SPODES_client/services.py,sha256=DDLJdJq_as5nqr9mnEcRkQydqewDoTsXrdm7vuNiSsY,3812
|
|
7
7
|
DLMS_SPODES_client/session.py,sha256=KgPo9gKpP1RgDiSO1ATNXdnh6J4l6-dz8c5VuH3_Ss8,12395
|
|
8
8
|
DLMS_SPODES_client/settings.py,sha256=vMZ2nv0HMu3uGIEie8HSvPG4i4yToIRc0Inmow3lvqk,1575
|
|
9
|
-
DLMS_SPODES_client/task.py,sha256=
|
|
9
|
+
DLMS_SPODES_client/task.py,sha256=38pTFTpvUtwrB1PgbSDINmRY3iO3oQiz_vZnFeDcILA,76242
|
|
10
10
|
DLMS_SPODES_client/gurux_common/enums/TraceLevel.py,sha256=kRc23yosCxxEQOHwzMkA35qydopl7c8vZoLK__wot9Y,500
|
|
11
11
|
DLMS_SPODES_client/gurux_common/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
DLMS_SPODES_client/gurux_dlms/AesGcmParameter.py,sha256=xpMqIqOHcCJzOqAXzJYQMsiVSC9JSBbj8CnBrNO088k,1392
|
|
@@ -54,8 +54,8 @@ DLMS_SPODES_client/gurux_dlms/enums/Task.py,sha256=c8wc9ANk_vcHaKkOuy8F_x9hBNwEf
|
|
|
54
54
|
DLMS_SPODES_client/gurux_dlms/enums/VdeStateError.py,sha256=ewlnl9cmPX53lLYCHmu3XssCURux85ylZ2bu0uDaMa4,223
|
|
55
55
|
DLMS_SPODES_client/gurux_dlms/enums/__init__.py,sha256=G9Y0b6vGg9VeX4o45AaX7yBKfEyXAUF4oMvRl_q5-hw,1281
|
|
56
56
|
DLMS_SPODES_client/gurux_dlms/internal/_GXCommon.py,sha256=XAQqzT2C83Kso5GsSqjskTAPAylLaf9U01CVCneB2y8,51553
|
|
57
|
-
dlms_spodes_client-0.19.
|
|
58
|
-
dlms_spodes_client-0.19.
|
|
59
|
-
dlms_spodes_client-0.19.
|
|
60
|
-
dlms_spodes_client-0.19.
|
|
61
|
-
dlms_spodes_client-0.19.
|
|
57
|
+
dlms_spodes_client-0.19.24.dist-info/METADATA,sha256=hXUbnY_Bi43Fkb-BzdGEiQDeSlF_R6gH1j_A7eDjRhI,1033
|
|
58
|
+
dlms_spodes_client-0.19.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
59
|
+
dlms_spodes_client-0.19.24.dist-info/entry_points.txt,sha256=Z6UTeQjjCf2k1Y3Bjs0s7yr-UYSWb-TvJMuG2K2MApw,70
|
|
60
|
+
dlms_spodes_client-0.19.24.dist-info/top_level.txt,sha256=rh_3Uig5bc6J_lKni01btol7dX_IgIJulNtGjGehmBE,19
|
|
61
|
+
dlms_spodes_client-0.19.24.dist-info/RECORD,,
|
|
File without changes
|
{dlms_spodes_client-0.19.23.dist-info → dlms_spodes_client-0.19.24.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|