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 2c207d9 commit 0250984Copy full SHA for 0250984
splunklib/results.py
@@ -46,6 +46,8 @@
46
"JSONResultsReader"
47
]
48
49
+import deprecation
50
+
51
52
class Message:
53
"""This class represents informational messages that Splunk interleaves in the results stream.
@@ -149,7 +151,7 @@ def read(self, n=None):
149
151
return response
150
152
153
-#@deprecat("Use the JSONResultsReader function instead in conjuction with the 'output_mode' query param set to 'json'")
154
+@deprecation.deprecated(details="Use the JSONResultsReader function instead in conjuction with the 'output_mode' query param set to 'json'")
155
class ResultsReader:
156
"""This class returns dictionaries and Splunk messages from an XML results
157
stream.
0 commit comments