Omit exporting of api strings
This commit is contained in:
@@ -325,7 +325,7 @@ class ConfigSQL(object):
|
|||||||
def to_dict(self):
|
def to_dict(self):
|
||||||
storage = {}
|
storage = {}
|
||||||
for k, v in self.__dict__.items():
|
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
|
storage[k] = v
|
||||||
return storage
|
return storage
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user