changed naming of messaging methods
Browse files12316 unmodified lines2021222324252678 unmodified lines105106107108109110111112113114import osimport hydra16 unmodified linesCACHING_PARAMETERS.do_caching = False # Set to True in order to disable caching# clear_cache() # Uncomment this line to clear the cachelogging.set_verbosity_debug()dependencies = [78 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()123416 unmodified lines2122232425262778 unmodified lines106107108109110111112113114115"""A simple script to run a Flow that can be used for development and debugging."""import osimport 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()dependencies = [78 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()
run.py+4-3