changed naming of messaging methods
Browse files123416 unmodified lines212223232425262778 unmodified lines106107108108109110111111112113114115"""A simple script to run a Flow that can be used for development and debugging."""import os
import hydra16 unmodified linesCACHING_PARAMETERS.do_caching = False # Set to True in order to disable caching# clear_cache() # Uncomment this line to clear the cache
logging.set_verbosity_debug()# logging.set_verbosity_debug()
dependencies = [78 unmodified lines )
#option2: use the proxy_flow #input_message = proxy_flow._package_input_message(data = data) #input_message = proxy_flow.package_input_message(data = data) #7. ~~~ Run inference ~~~ future = proxy_flow.send_message_blocking(input_message) 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()run.py+4-3