A flexible and robust Python library for creating, managing, and interacting with data services, with built-in support for web and RPC servers, and customizable features for diverse use cases.
MIT License
0
stars
1
forks
source link
Refactor: remove unused attribute key from observers dict #128
The _observers dictionary of the ObservableObject keeps track of the observers of the object by mapping the access path to a list of parent objects.
When an observer is removed, the parent object is removed from the list. If the list is empty afterwards, it is now removed from the dictionary.
The
_observers
dictionary of theObservableObject
keeps track of the observers of the object by mapping the access path to a list of parent objects. When an observer is removed, the parent object is removed from the list. If the list is empty afterwards, it is now removed from the dictionary.