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

Separate Constraint Verification from Setting of Attributes #210

Open
s-heppner opened this issue Jan 4, 2024 · 0 comments
Open

Separate Constraint Verification from Setting of Attributes #210

s-heppner opened this issue Jan 4, 2024 · 0 comments
Labels
enhancement Enhancement of an existing feature sdk Something to do with the `sdk` package

Comments

@s-heppner
Copy link
Contributor

s-heppner commented Jan 4, 2024

Currently, we check constraints of attributes when they are set.
While this way, we never allow for non-compliant data, there are some instances where a temporary non-compliance is helpful, such as when copying and pasting an object.
Therefore, we should think about implementing a more modular pattern, separating the verification of the constraints from the actual setting of attributes and make it into a function that can be called when needed (for example when serializing).
This could be oriented at the implementation of the aas-core3.0-python verification.py.

@s-heppner s-heppner added the enhancement Enhancement of an existing feature label Jan 4, 2024
@s-heppner s-heppner added this to the BaSyx-Core Integration milestone Jan 4, 2024
@s-heppner s-heppner removed this from the BaSyx-Core Integration milestone Nov 17, 2024
@s-heppner s-heppner added the sdk Something to do with the `sdk` package label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of an existing feature sdk Something to do with the `sdk` package
Projects
None yet
Development

No branches or pull requests

1 participant