Closed
Description
Describe the bug
The **query
in KV Store Data API functions have an error in typing or in usage in the function.
splunk-sdk-python/splunklib/client.py
Line 3633 in 9f6b2e0
splunk-sdk-python/splunklib/client.py
Line 3643 in 9f6b2e0
To Reproduce
Use the KVStoreCollectionData
query with the dict type prescribed in the docstrings
collection.data.query(query={"id": {"$gt": 24}}) or collection.data.query({"id": {"$gt": 24}})
Expected behavior
The previous queries should succeed, as documented.
https://docs.splunk.com/Documentation/Splunk/8.1.0/RESTREF/RESTkvstore
Splunk Version
- Version: 8.1.0
- OS: Docker Build 5c3f219bbb6b
splunklib Version
- Version: 1.6.14
- Language Runtime Version: Python 3.7
- OS: Ubuntu 20.04
Metadata
Metadata
Assignees
Labels
No labels