We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f3fa35 + 71c984c commit ce732fcCopy full SHA for ce732fc
splunklib/client.py
@@ -779,7 +779,7 @@ def get_api_version(self, path):
779
# For example, "/services/search/jobs" is using API v1
780
api_version = 1
781
782
- versionSearch = re.search('(?:servicesNS\/[^/]+\/[^/]+|services)\/[^/]+\/v(\d+)\/', path)
+ versionSearch = re.search(r'(?:servicesNS\/[^/]+\/[^/]+|services)\/[^/]+\/v(\d+)\/', path)
783
if versionSearch:
784
api_version = int(versionSearch.group(1))
785
0 commit comments