rwth-iat / aas-python-http-client

Mostly generated python client for AAS API based on models from Basyx-Python-SDK
MIT License
3 stars 1 forks source link

test_client.py: deserialization for Reference objects not working #11

Closed Frosty2500 closed 4 months ago

Frosty2500 commented 4 months ago

Reference objects are not being deserialized, they are just returned in serialized JSON representation.

For example this is what we get when we print an aas_reference object that we get with the client:

{'keys': [{'type': 'AssetAdministrationShell',
           'value': 'https://acplt.org/Test_AssetAdministrationShell'}],
 'referred_semantic_id': None,
 'type': 'ModelReference'}
zrgt commented 4 months ago

Fixed in 0b25e8774be8ae8d1c9b671584d45d97e1d5d883