Nominal constraints now working
This commit is contained in:
parent
6ce8a4ef5c
commit
f7430cceff
2 changed files with 41 additions and 35 deletions
|
|
@ -36,5 +36,5 @@ def bootstrap_pn(state: State, model_name: str) -> UUID:
|
|||
service.create_attribute_link("P2T", "Integer", "w", False)
|
||||
service.create_attribute_link("T2P", "Integer", "w", False)
|
||||
# Create test constraint
|
||||
service.add_constraint("P", "print(element)\nreturn True")
|
||||
service.add_constraint("P", "True")
|
||||
return model_uuid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue