Closed jrobinAV closed 1 week ago
This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines.
This issue has been unassigned automatically because it has been marked as "🥶Waiting for contributor" for more than 14 days with no activity.
motivation:
When calling scenario.foo, there could be a conflict in the interpretation of foo. It could be:
_properties
dict)The purpose of this issue is to avoid conflicts and to ensure property keys are valid python identifiers.
Proposed solution:
Before setting a new property, check if the new key is already used as a config id, or a sequence name. If so raise a dedicate error.
The solution consists of defining two new methods in the Scenario class:
__setattr__
methodproperties
property.Expected behavior
The following test should pass:
Acceptance criteria