Below is the class i have added in est_ta/bin/responsehandlers.py. Thanks to Damien!!!
class MyClass:
def __init__(self,**args):
pass
def __call__(self, response_object,raw_response_output,response_type,req_args,endpoint):
print_xml_stream(raw_response_output)
now = datetime.now()
thirtym = timedelta(minutes=30)
newtime = now + thirtym
time_fmt = '%Y-%m-%dT%H:%M:%S'
if not "params" in req_args:
req_args["params"] = {}
req_args["params"]["starttime_thirtym"] = now.strftime(time_fmt)
req_args["params"]["timenow"] = newtime.strftime(time_fmt)
... View more