Skip to content
Snippets Groups Projects

Add native value types

Merged Michael Thies requested to merge feature/native-value-types into master

This branch mainly replaces the DataTypeDef and ValueDataType in model.base to use Python classes for all allowed data types and values of those classes instead of the XML/XSD string representation.

The parsing and serialization is handled by the model.datatypes module and invoked by the adapters for serialization and deserialization. Thus, a programmer using PyI40AAS in his application can work with native Python types (like int, float, bool, bytearray, str) and the framework checks type compatibility and handles serialization into the correct string representation.

Edited by Michael Thies

Merge request reports

Pipeline #233351 passed

Pipeline passed for 8364011a on feature/native-value-types

Test coverage 85.00% (-1.00%) from 1 job

Merged by Michael ThiesMichael Thies 5 years ago (Jan 28, 2020 1:53pm UTC)

Loading

Pipeline #233938 passed

Pipeline passed for b7637246 on master

Test coverage 85.00% (-1.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading