aas-core-works / aas-core-meta

Provide formalized meta-models for Asset Administration Shell (AAS).
Other
10 stars 3 forks source link

Descendants of `Referable` need no explicit `modelType` #101

Closed mristin closed 2 years ago

mristin commented 2 years ago

The class AssetAdministrationShell inherits from Referable and thus need not to specify the modelType in the @serialization explicitly.

See: https://github.com/aas-core-works/aas-core-meta/blob/7663ba0c80b56758ce66d9960a99787a895f602f/aas_core_meta/v3rc2.py#L1825

Same applies to ConceptDescription.

Related to #100 .

mristin commented 2 years ago

Fixed by #104 .