]> git.parisson.com Git - timeside.git/commitdiff
Add a results() property to the ProcessPipe to get the results of all the analyzers
authorThomas Fillon <thomas@parisson.com>
Thu, 10 Oct 2013 09:26:26 +0000 (11:26 +0200)
committerThomas Fillon <thomas@parisson.com>
Thu, 10 Oct 2013 09:26:26 +0000 (11:26 +0200)
timeside/core.py

index b2360530ee739fda67b6221c8c74d2f4f21c9601..4804ad291d1d93703ae4615d380bea1dab0a4971 100644 (file)
@@ -263,3 +263,11 @@ class ProcessPipe(object):
             item.release()
 
         return self
+
+    @property
+    def results(self):
+        """
+        Results Container for all the analyzers of the Pipe process
+        """
+        if hasattr(self, '_results'):
+            return self._results
\ No newline at end of file