Skip to content

Commit

Permalink
sdk/basyx/tutorial/tutorial_create_simple_aas.py: Add further explana…
Browse files Browse the repository at this point in the history
…tion of return type
  • Loading branch information
JAB1305 authored and s-heppner committed Oct 25, 2024
1 parent d6c565a commit 8e05645
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdk/basyx/tutorial/tutorial_create_simple_aas.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,9 @@
# themselves do not underlie any restriction.

# We can use aas_core3.verification.verify(). This method returns an Iterator that we can collect into a list and
# for demonstration reasons assert it to be empty.
# for demonstration reasons assert it to be empty. Each item in this iterator represents a violation of the AAS
# meta-model rules or constraints (e.g. Missing required fields, Invalid types of fields, ...).

# For more information refer to the official aas-core documentation.

assert len(list(verification.verify(aas))) == 0

0 comments on commit 8e05645

Please sign in to comment.