mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-21 00:40:01 +02:00
removes duplicate code from DataServiceObserver (already in Observer)
This commit is contained in:
parent
8919f6106a
commit
e48a7067ec
@ -32,9 +32,6 @@ class DataServiceObserver(Observer):
|
||||
if not self.initialised:
|
||||
return
|
||||
|
||||
if full_access_path in self.changing_attributes:
|
||||
self.changing_attributes.remove(full_access_path)
|
||||
|
||||
cached_value_dict = copy(
|
||||
self.state_manager._data_service_cache.get_value_dict_from_cache(
|
||||
full_access_path
|
||||
@ -73,9 +70,6 @@ class DataServiceObserver(Observer):
|
||||
get_object_attr_from_path_list(self.observable, prop.split(".")),
|
||||
)
|
||||
|
||||
def on_change_start(self, full_access_path: str) -> None:
|
||||
self.changing_attributes.append(full_access_path)
|
||||
|
||||
def _get_properties_and_their_dependencies(
|
||||
self, obj: Observable, prefix: str = ""
|
||||
) -> dict[str, list[str]]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user