basyx-python-sdk
basyx-python-sdk copied to clipboard
The Eclipse BaSyx Python SDK, an implementation of the Asset Administration Shell (AAS) for Industry 4.0 systems
The compliance tool tests previously relied on handcrafted example fixture files (JSON, XML, AASX) to drive end-to-end assertions. These fixtures duplicated the SDK's own example data and had to be...
Until now, each value of a MultiLanguageNameType was constrained to a maximum length of 64 via check_short_name_type. This never matched the specification: LangStringNameType/text has had a maximum length of 128...
`MultiLanguageNameType` constrains each of its values to a maximum length of 64 characters by using `check_short_name_type` (`ShortNameType`). - **Expected behavior:** Each value of a `MultiLanguageNameType` should be allowed up to...
JSON arrays that originate from unordered Python sets (the top-level object lists and set-valued attributes like `submodel` and `isCaseOf`) are serialized in non-deterministic order, because set iteration order depends on...
JSON arrays that originate from unordered Python sets are serialized in non-deterministic order. Affected are the top-level object lists and set-valued attributes such as submodel and isCaseOf. **Expected behavior**: Serializing...
Currently, the JSON and XMOL deserializiers raise an error when parsing Blob or File submodels that do not include a contentType The contentType attribute has a cardinality of 0..1 for...
Previously, the check_directory method was not covered by unit tests. Unit tests for all three directory state branches are added.
A `_STORE_CLASSES` class variable is introduced and duplicate test methods are consolidated into `subTest` loops covering both store implementations. Before: `basyx/aas/model/provider.py 119 37 32 0 68% 34, 60, 174-180, [...]`...
Since the SDK only supports `DataSpecificationIEC61360`, the spec is unambiguous: `EmbeddedDataSpecification/dataSpecification` must be an `ExternalReference` pointing to the template IRI (constraint AASc-3a-050; "an external global reference" per the embedded data...