Skip to content

Commit 3ae2eae

Browse files
authored
fix: remove dead DataSpecificationIEC61360.value_id JSON deserialization code (#509)
Previously, the `DataSpecificationIEC61360.value_id` attribute was removed from the metamodel of the AAS. However, we forgot to remove part of the deserialization, so we parsed and immediately discarded this attribute. This removes the code artefact. Fixes #504
1 parent 39a86c3 commit 3ae2eae

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

sdk/basyx/aas/adapter/json/json_deserialization.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,6 @@ def _construct_data_specification_iec61360(cls, dct: Dict[str, object],
511511
ret.value_list = cls._construct_value_list(_get_ts(dct, 'valueList', dict))
512512
if 'value' in dct:
513513
ret.value = _get_ts(dct, 'value', str)
514-
if 'valueId' in dct:
515-
ret.value_id = cls._construct_reference(_get_ts(dct, 'valueId', dict))
516514
if 'levelType' in dct:
517515
for k, v in _get_ts(dct, 'levelType', dict).items():
518516
if v:

0 commit comments

Comments
 (0)