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 ba04e1b commit 71c984cCopy full SHA for 71c984c
splunklib/client.py
@@ -769,7 +769,7 @@ def get_api_version(self, path):
769
# For example, "/services/search/jobs" is using API v1
770
api_version = 1
771
772
- versionSearch = re.search('(?:servicesNS\/[^/]+\/[^/]+|services)\/[^/]+\/v(\d+)\/', path)
+ versionSearch = re.search(r'(?:servicesNS\/[^/]+\/[^/]+|services)\/[^/]+\/v(\d+)\/', path)
773
if versionSearch:
774
api_version = int(versionSearch.group(1))
775
0 commit comments