We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e976e7 commit 016c4d3Copy full SHA for 016c4d3
janrain/capture/config.py
@@ -179,3 +179,9 @@ def __str__(self):
179
value = repr(value)
180
pairs.append("{key}: {value}".format(key=repr(key), value=value))
181
return "{{{0}}}".format(", ".join(pairs))
182
+
183
+ def __repr__(self):
184
+ if self.root:
185
+ return repr(self.values)
186
+ else:
187
+ return "ConfigDict{}".format(repr((self.file, self.values)))
0 commit comments