Skip to content

Commit

Permalink
Update basyx/aas/model/base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
s-heppner authored Nov 3, 2023
1 parent 704e239 commit fd58420
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions basyx/aas/model/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2156,10 +2156,6 @@ def __init__(self,
raise ValueError("value is not allowed to be an empty string")
_string_constraints.check_label_type(name)
_string_constraints.check_identifier(value)
if external_subject_id is not None and not isinstance(external_subject_id, ExternalReference):
raise AASConstraintViolation(133, f"external_subject_id shall be a global reference, given: "
f"{external_subject_id}")

self.name: LabelType
self.value: Identifier
self.external_subject_id: ExternalReference
Expand Down

0 comments on commit fd58420

Please sign in to comment.