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 4c87396 commit 7c22b12Copy full SHA for 7c22b12
pysmartprice/results.py
@@ -5,5 +5,6 @@ class SmartPriceResult(object):
5
def __init__(self, params):
6
self.__dict__.update(params)
7
8
- def dumpjson(self):
+ @property
9
+ def dumptojson(self):
10
return json.dumps(self.__dict__)
0 commit comments