From 7ffb3f12bf0c07244230545d888c12788e5f84d1 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Fri, 2 Aug 2019 11:42:47 +0200 Subject: [PATCH] Rename EventHandler dependency getter --- .../tracetools_analysis/processor/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tracetools_analysis/tracetools_analysis/processor/__init__.py b/tracetools_analysis/tracetools_analysis/processor/__init__.py index e0d4456..1a82f3b 100644 --- a/tracetools_analysis/tracetools_analysis/processor/__init__.py +++ b/tracetools_analysis/tracetools_analysis/processor/__init__.py @@ -100,9 +100,10 @@ class EventHandler(): def handler_map(self) -> HandlerMap: return self._handler_map - def get_dependants(self) -> List[Type['EventHandler']]: - # Default: no dependants - # Subclasses should override this method id they want to declare dependants + @property + def dependencies(self) -> List[Type['EventHandler']]: + # Default: no dependencies + # Subclasses should override this method id they want to declare dependencies return [] @classmethod