mirror of
https://github.com/tiqi-group/pydase.git
synced 2026-02-14 06:18:41 +01:00
observer: ignoring __annotations__ class attribute
This commit is contained in:
@@ -15,6 +15,7 @@ class Observable(ObservableObject):
|
|||||||
for k in set(type(self).__dict__)
|
for k in set(type(self).__dict__)
|
||||||
- set(Observable.__dict__)
|
- set(Observable.__dict__)
|
||||||
- set(self.__dict__)
|
- set(self.__dict__)
|
||||||
|
- {"__annotations__"}
|
||||||
}
|
}
|
||||||
for name, value in class_attrs.items():
|
for name, value in class_attrs.items():
|
||||||
if isinstance(value, property) or callable(value):
|
if isinstance(value, property) or callable(value):
|
||||||
|
|||||||
Reference in New Issue
Block a user