splunk-sdk-python
splunk-sdk-python copied to clipboard
Job#setttl should return self?
Seems like most non result methods returns self (I'm assuming for chaining purposes) but setttl does not:
def setttl(self, value):
self.post("control", action="setttl", ttl=value)`
Yes, these "actions" return self in order to enable a "fluent" style of coding (aka chaining) and this one should also return self.
Fixed in the develop branch.