From 2a381e09ff1016ce1730d374bb059f55012f4520 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Wed, 3 Apr 2024 22:20:00 +0200 Subject: Update comment --- glances/stats.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glances/stats.py b/glances/stats.py index 9b875a63..336476e7 100644 --- a/glances/stats.py +++ b/glances/stats.py @@ -304,10 +304,10 @@ class GlancesStats(object): return {p: self._plugins[p].get_raw() for p in self._plugins} def getAllExports(self, plugin_list=None): - """Return all the stats to be exported (list). + """Return all the stats to be exported as a list. Default behavior is to export all the stat - if plugin_list is provided, only export stats of given plugin (list) + if plugin_list is provided (list), only export stats of given plugins """ if plugin_list is None: # All enabled plugins should be exported @@ -315,7 +315,7 @@ class GlancesStats(object): return [self._plugins[p].get_export() for p in self._plugins] def getAllExportsAsDict(self, plugin_list=None): - """Return all the stats to be exported (dict). + """Return all the stats to be exported as a dict. Default behavior is to export all the stat if plugin_list is provided (list), only export stats of given plugins -- cgit v1.2.3