aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2024-06-18 18:08:01 +0200
committerThéo de la Hogue2024-06-18 18:08:01 +0200
commit4f99886127d0e21ad95967f790aa37a28d8afff9 (patch)
tree9babfb2d3fb10b968f42ad37069361f2b2fba88b /src
parent34b856b4753a60da743e81b9b033afab899f7a6b (diff)
downloadargaze-4f99886127d0e21ad95967f790aa37a28d8afff9.zip
argaze-4f99886127d0e21ad95967f790aa37a28d8afff9.tar.gz
argaze-4f99886127d0e21ad95967f790aa37a28d8afff9.tar.bz2
argaze-4f99886127d0e21ad95967f790aa37a28d8afff9.tar.xz
Editing observers' parent.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/DataFeatures.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/argaze/DataFeatures.py b/src/argaze/DataFeatures.py
index 2c26c8e..4c12b86 100644
--- a/src/argaze/DataFeatures.py
+++ b/src/argaze/DataFeatures.py
@@ -941,16 +941,21 @@ class PipelineStepObject():
@property
def observers(self) -> list:
- """Pipeline step object observers list."""
+ """Get pipeline step object observers list."""
return self.__observers
@observers.setter
@PipelineStepAttributeSetter
def observers(self, observers: list):
+ """Set pipeline step object observers list."""
- # Edit new observers dictionary
self.__observers = observers
+ # Edit observers' parent
+ for observer in self.__observers:
+
+ observer.parent = self
+
@property
def execution_times(self):
"""Get pipeline step object observers execution times dictionary."""