-
Notifications
You must be signed in to change notification settings - Fork 35
Remove '.value' behaviour #237
Comments
My 2 cents:
|
Just some thoughts about the problem: I believe we could have a more high-level interface in mind. I prefer the 'conservative' one as it is less tolerant to mistakes and eases The 'open' one leaves too many possibilities, and makes maintenance and In the 'conservative' approach:
In the 'open' approach (many possibilities...):
|
My suggestion is to keep the values as the user assigned (e.g. bitmask as list of enums) so the user won't see a different value when accessing the attribute later. With this in mind, I liked:
|
@diraol @cemsbr @erickvermot I'm moving this to b3. We have to discuss better. |
Agreed.
|
We are going to simplify our library for the users by assuming that the attributes of our classes instances will always receive python basic types (int, string or list, when appropriate) or other complex objects (such as a Header object as message attributes).
Questions:
The text was updated successfully, but these errors were encountered: