mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-20 08:20:02 +02:00
observer: ignoring __annotations__ class attribute
This commit is contained in:
parent
b2f59dd447
commit
02b2d4fb10
@ -15,6 +15,7 @@ class Observable(ObservableObject):
|
||||
for k in set(type(self).__dict__)
|
||||
- set(Observable.__dict__)
|
||||
- set(self.__dict__)
|
||||
- {"__annotations__"}
|
||||
}
|
||||
for name, value in class_attrs.items():
|
||||
if isinstance(value, property) or callable(value):
|
||||
|
Loading…
x
Reference in New Issue
Block a user