Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove/AASd-003 #123

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions basyx/aas/model/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,8 @@ class Referable(HasExtension, metaclass=abc.ABCMeta):
idShort is mandatory and used for referring to the element in its name space.
*Constraint AASd-002:* idShort shall only feature letters, digits, underscore ("_"); starting
mandatory with a letter.
*Constraint AASd-003:* idShort shall be matched case insensitive.
*Constraint AASd-004:* Add parent in case of non identifiable elements.
*Constraint AASd-022:* idShort of non-identifiable referables shall be unique in its namespace (case-sensitive)

:ivar _id_short: Identifying string of the element within its name space
:ivar ~.category: The category is a value that gives further meta information w.r.t. to the class of the element.
Expand Down Expand Up @@ -649,8 +649,7 @@ def _set_id_short(self, id_short: NameType):

Constraint AASd-002: idShort of Referables shall only feature letters, digits, underscore ("_"); starting
mandatory with a letter. I.e. [a-zA-Z][a-zA-Z0-9_]+
Constraint AASd-003: idShort shall be matched case-insensitive
Constraint AASd-022: idShort of non-identifiable referables shall be unique in its namespace
Constraint AASd-022: idShort of non-identifiable referables shall be unique in its namespace (case-sensitive)

:param id_short: Identifying string of the element within its name space
:raises ValueError: if the constraint is not fulfilled
Expand Down
Loading