-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
This looks like maybe a type-o carried over from reusing code from the NodeID constructor. The EventID constructor has this code and it appears incorrect since EventID has no nodeId. What should this look like?
elif isinstance(data, EventID):
self.eventId = data.nodeIdprobably change to self.eventId = data.eventId
but I think EventID and NodeID would be less confusing to read and use if we change EventID's eventID and NodeID's nodeID to just self.value, since the type is int not the parent class type as the name implies in other parts of the code and typical conventions. Let me know your thoughts.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels