changed naming of messaging methods
Browse filesFiles changed (2)
- LCToolFlow.py+2-2
- run.py+2-2
92 unmodified lines9394959697989910010110292 unmodified linesinput_data = input_message.dataobservation = self.backend.run(tool_input=input_data)reply = self._package_output_message(input_message=input_message,response = {"observation": observation})self.reply_to_message(reply=reply, to=input_message)92 unmodified lines9394959697989910010110292 unmodified linesinput_data = input_message.dataobservation = self.backend.run(tool_input=input_data)reply = self.package_output_message(input_message=input_message,response = {"observation": observation})self.send_message(reply, is_reply=True)
75 unmodified lines7677787980818283848575 unmodified lines)#option2: use the proxy_flow#input_message = proxy_flow._package_input_message(data = data)#7. ~~~ Run inference ~~~future = proxy_flow.send_message_blocking(input_message)#uncomment this line if you would like to get the full message back#reply_message = future.get_message()75 unmodified lines7677787980818283848575 unmodified lines)#option2: use the proxy_flow#input_message = proxy_flow.package_input_message(data = data)#7. ~~~ Run inference ~~~future = proxy_flow.get_reply_future(input_message)#uncomment this line if you would like to get the full message back#reply_message = future.get_message()
LCToolFlow.py+2-2
run.py+2-2