mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-15 06:48:40 +01:00
updates __getattribute__ of Observable
This commit is contained in:
@@ -32,7 +32,11 @@ class Observable(ObservableObject):
|
|||||||
self._notify_changed(name, value)
|
self._notify_changed(name, value)
|
||||||
|
|
||||||
def __getattribute__(self, name: str) -> Any:
|
def __getattribute__(self, name: str) -> Any:
|
||||||
|
if is_property_attribute(self, name):
|
||||||
|
self._notify_change_start(name)
|
||||||
|
|
||||||
value = super().__getattribute__(name)
|
value = super().__getattribute__(name)
|
||||||
|
|
||||||
if is_property_attribute(self, name):
|
if is_property_attribute(self, name):
|
||||||
self._notify_changed(name, value)
|
self._notify_changed(name, value)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user