Skip to content

Commit ec4fdcf

Browse files
author
aviau
committed
Fixed recursion issue with raw attribute
1 parent aaee3fe commit ec4fdcf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

influxdb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
]
1212

1313

14-
__version__ = '2.0.0'
14+
__version__ = '2.0.1'

influxdb/resultset.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ class ResultSet(object):
77
"""A wrapper around series results """
88

99
def __init__(self, series):
10-
self.raw = series
10+
self._raw = series
1111

1212
@property
1313
def raw(self):
1414
"""Raw JSON from InfluxDB"""
15-
return self.raw
15+
return self._raw
1616

1717
@raw.setter
1818
def raw(self, value):
19-
self.raw = value
19+
self._raw = value
2020

2121
def __getitem__(self, key):
2222
"""

0 commit comments

Comments
 (0)