From 9fcd6365331b5d3d6e9bf4316e022c74f1b497ea Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Tue, 9 Sep 2025 09:40:37 +0200 Subject: [PATCH] Omit exporting of api strings --- cps/config_sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/config_sql.py b/cps/config_sql.py index 7e7d033d..a07195ec 100644 --- a/cps/config_sql.py +++ b/cps/config_sql.py @@ -325,7 +325,7 @@ class ConfigSQL(object): def to_dict(self): storage = {} for k, v in self.__dict__.items(): - if k[0] != '_' and not k.endswith("_e") and not k == "cli": + if k[0] != '_' and not k.endswith("_e") and not k == "cli" and 'api' not in k.lower(): storage[k] = v return storage