Skip to content

Conversation

torsknod2
Copy link

No description provided.

@torsknod2 torsknod2 changed the title 175: Initial commit to create respective SpecObjectAttribute's to confirm that integration tests fail #175: Initial commit to create respective SpecObjectAttribute's to confirm that integration tests fail Feb 13, 2025
attribute_type=SpecObjectAttributeType.STRING,
definition_ref=ExampleIdentifiers.SPEC_ATTRIBUTE_IDs[0],
value="System ABC shall do XYQ.",
),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for showing it with a test. This could be a useful change for the use case that you described.

Let's also add a validation inside the init method: if an int value is provided than the type should be INTEGER and similar for all other types. If these is a type mismatch, let's through a TypeError.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants