Bug Report
Unpickling an nitypes 1.0.0 DigitalWaveform or DigitalWaveformSignals fails because the unpickled ExtendedPropertyDictionary does not have _on_key_changed set
Repro or Code Sample
New regression tests
Expected Behavior
It works
Current Behavior
AttributeError: 'ExtendedPropertyDictionary' object has no attribute '_on_key_changed'
Possible Solution
Update DigitalWaveform to use hasattr to check whether _on_key_changed is present and initialize it if needed
Context
Reviewing #233
Your Environment
AB#3623937
Bug Report
Unpickling an nitypes 1.0.0 DigitalWaveform or DigitalWaveformSignals fails because the unpickled ExtendedPropertyDictionary does not have _on_key_changed set
Repro or Code Sample
New regression tests
Expected Behavior
It works
Current Behavior
AttributeError: 'ExtendedPropertyDictionary' object has no attribute '_on_key_changed'Possible Solution
Update DigitalWaveform to use
hasattrto check whether_on_key_changedis present and initialize it if neededContext
Reviewing #233
Your Environment
nitypesversion: [releases/1.0] cherry pick: Reverse Indices for Digital Waveform Signals (#222) #233AB#3623937