diff options
-rw-r--r-- | src/argaze/DataFeatures.py | 9 |
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.""" |