From 8095b6a152478fd51379b7c07913df67942ef7cd Mon Sep 17 00:00:00 2001 From: michaelowenliu Date: Fri, 24 Jul 2020 14:12:32 +0800 Subject: [PATCH] update manager --- dygraph/cvlibs/manager.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dygraph/cvlibs/manager.py b/dygraph/cvlibs/manager.py index c76fde41..48a9ec81 100644 --- a/dygraph/cvlibs/manager.py +++ b/dygraph/cvlibs/manager.py @@ -89,6 +89,5 @@ class ComponentManager: def __len__(self): return len(self._components_dict) - def __str__(self): - print_str = "{}({})".format(self.__class__.__name__, self._components_dict) - return print_str \ No newline at end of file + def __repr__(self): + return "{}:{}".format(self.__class__.__name__, list(self._components_dict.keys())) \ No newline at end of file -- GitLab