Skip to content

Commit

Permalink
Remove check for attribute kind in _check_qualifier_equal()
Browse files Browse the repository at this point in the history
In Version 3.0 `SubmodelElement` has no attribute `kind` anymore. Because `Qualifier` inherits from `SubmodelElement` the check for the attribute `kind` becomes unnecessary.
  • Loading branch information
David Niebert committed Jun 24, 2023
1 parent d5d46e5 commit 6fcd5cf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion basyx/aas/examples/data/_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ def _check_qualifier_equal(self, object_: model.Qualifier, expected_value: model
self.check_attribute_equal(object_, 'value_type', expected_value.value_type)
self.check_attribute_equal(object_, 'value', expected_value.value)
self.check_attribute_equal(object_, 'value_id', expected_value.value_id)
self.check_attribute_equal(object_, 'kind', expected_value.kind)

def check_specific_asset_id(self, object_: model.SpecificAssetId,
expected_value: model.SpecificAssetId):
Expand Down

0 comments on commit 6fcd5cf

Please sign in to comment.