i created python scripts using splunk sdk and when i used my laptop it worked fine but when i try to use in splunk windows machine i get an error
DeprecationWarning: ResultsReader is a deprecated function. Use the JSONResultsReader function instead in conjuction with the 'output_mode' query param set to 'json'
reader = results.ResultsReader(query_results)