We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This kind of situation is possible and it does not throw any exception:
from metamodel.structural.structural import Class, Property attribute1: Property = Property( name="attr1", owner=None, property_type=PrimitiveDataType("int")) attribute2: Property = Property( name="attr2", owner=None, property_type=PrimitiveDataType("str")) class1: Class = Class(name="Cls1", attributes=set([attribute1, attribute2])) class2: Class = Class(name="Cls2", attributes=set([attribute2,]))
This is contrary to the principles of UML, so is it worth to add a "dummy" check?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This kind of situation is possible and it does not throw any exception:
This is contrary to the principles of UML, so is it worth to add a "dummy" check?
The text was updated successfully, but these errors were encountered: