DLMS-SPODES-client 0.19.16__py3-none-any.whl → 0.19.18__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 +6 -6
- {dlms_spodes_client-0.19.16.dist-info → dlms_spodes_client-0.19.18.dist-info}/METADATA +1 -1
- {dlms_spodes_client-0.19.16.dist-info → dlms_spodes_client-0.19.18.dist-info}/RECORD +6 -6
- {dlms_spodes_client-0.19.16.dist-info → dlms_spodes_client-0.19.18.dist-info}/WHEEL +0 -0
- {dlms_spodes_client-0.19.16.dist-info → dlms_spodes_client-0.19.18.dist-info}/entry_points.txt +0 -0
- {dlms_spodes_client-0.19.16.dist-info → dlms_spodes_client-0.19.18.dist-info}/top_level.txt +0 -0
DLMS_SPODES_client/task.py
CHANGED
|
@@ -945,14 +945,14 @@ class MapTypeCreator:
|
|
|
945
945
|
res = await self.con[id_sap].exchange(c)
|
|
946
946
|
async with self.lock:
|
|
947
947
|
try:
|
|
948
|
-
gotten, _ = self.adapter.get_collection(col_id) # check for first update
|
|
948
|
+
gotten, _ = self.adapter.get_collection(col_id).unpack() # check for first update
|
|
949
949
|
if gotten.has_sap(id_sap.sap):
|
|
950
950
|
"""not need keep"""
|
|
951
951
|
else:
|
|
952
952
|
self.adapter.set_collection(res.value) # todo: make as ADAPTER.merge_collection(ret)
|
|
953
953
|
except AdapterException as e:
|
|
954
954
|
self.adapter.set_collection(res.value)
|
|
955
|
-
res.value, err = res.value.copy()
|
|
955
|
+
res.value, err = res.value.copy().unpack()
|
|
956
956
|
if err is not None:
|
|
957
957
|
res.extend_err(err)
|
|
958
958
|
return res
|
|
@@ -1617,16 +1617,16 @@ class TestAll(OK):
|
|
|
1617
1617
|
|
|
1618
1618
|
|
|
1619
1619
|
@dataclass
|
|
1620
|
-
class ApplyTemplate(Base):
|
|
1620
|
+
class ApplyTemplate(SimpleCopy, Base):
|
|
1621
1621
|
template: collection.Template
|
|
1622
1622
|
msg: str = "apply template"
|
|
1623
1623
|
|
|
1624
1624
|
async def exchange(self, c: Client) -> result.Result:
|
|
1625
1625
|
# todo: search col
|
|
1626
1626
|
attr: cdt.CommonDataType
|
|
1627
|
-
res = result.
|
|
1627
|
+
res = result.StrictOk()
|
|
1628
1628
|
for col in self.template.collections:
|
|
1629
|
-
if col == c.
|
|
1629
|
+
if col == c.objects:
|
|
1630
1630
|
use_col = col
|
|
1631
1631
|
break
|
|
1632
1632
|
else:
|
|
@@ -1642,7 +1642,7 @@ class ApplyTemplate(Base):
|
|
|
1642
1642
|
value=attr.encoding
|
|
1643
1643
|
).exchange(c))
|
|
1644
1644
|
else:
|
|
1645
|
-
res.append_e(exc.EmptyObj(F"skip apply {self.template} {ln:
|
|
1645
|
+
res.append_e(exc.EmptyObj(F"skip apply {self.template} {ln}:{i}: no value"))
|
|
1646
1646
|
return res
|
|
1647
1647
|
|
|
1648
1648
|
|
|
@@ -6,7 +6,7 @@ DLMS_SPODES_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
6
6
|
DLMS_SPODES_client/services.py,sha256=xM_-h322V1bGBcw9cJh7XOSUMTL3_E-GX89-z3YwIYw,3909
|
|
7
7
|
DLMS_SPODES_client/session.py,sha256=nPzXujpmGSTFFvhyZRjgH_RLX1DS9moRddUEZuf-QEE,12760
|
|
8
8
|
DLMS_SPODES_client/settings.py,sha256=6mitGe9UYeEgL61sf933MJ-S5N-ReoxvXqiI3agBGYE,1623
|
|
9
|
-
DLMS_SPODES_client/task.py,sha256=
|
|
9
|
+
DLMS_SPODES_client/task.py,sha256=K2GyX4_DMV5_vYk2QhCwNkXK4gEqd9UmmcjHa46I49c,76378
|
|
10
10
|
DLMS_SPODES_client/gurux_common/enums/TraceLevel.py,sha256=Ne0Rn3c9ACqQjmde_ksbiQxIUv6nXsPQRnhkGwIv3QI,521
|
|
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=HJt0uvxtkqKEkvfiqXTMNsiayN15AgPJa9_iMSSFZsQ,1429
|
|
@@ -54,8 +54,8 @@ DLMS_SPODES_client/gurux_dlms/enums/Task.py,sha256=chuOL6-IMxBvABUZtoFcaYaQQB4GZ
|
|
|
54
54
|
DLMS_SPODES_client/gurux_dlms/enums/VdeStateError.py,sha256=qT87LMbIYEs3TYPIp3N-dR2Tcg9KhKyiELwhVl5U-tw,233
|
|
55
55
|
DLMS_SPODES_client/gurux_dlms/enums/__init__.py,sha256=F_sgGwNmmdpbKvP1klJQUNiLXxU2BtZ-LgEI9e6xP8g,1314
|
|
56
56
|
DLMS_SPODES_client/gurux_dlms/internal/_GXCommon.py,sha256=7D9EYcfiZxwbk8sfpHv7s2nYqrbmGf-Tbwv2T-gqmgk,53226
|
|
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.18.dist-info/METADATA,sha256=hYlGdBkjzcYlM28DJTQnpUQ-lF83f9ozF7i2z1C1L_s,986
|
|
58
|
+
dlms_spodes_client-0.19.18.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
59
|
+
dlms_spodes_client-0.19.18.dist-info/entry_points.txt,sha256=Z6UTeQjjCf2k1Y3Bjs0s7yr-UYSWb-TvJMuG2K2MApw,70
|
|
60
|
+
dlms_spodes_client-0.19.18.dist-info/top_level.txt,sha256=rh_3Uig5bc6J_lKni01btol7dX_IgIJulNtGjGehmBE,19
|
|
61
|
+
dlms_spodes_client-0.19.18.dist-info/RECORD,,
|
|
File without changes
|
{dlms_spodes_client-0.19.16.dist-info → dlms_spodes_client-0.19.18.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|