<s> import logging <EOL> import os <EOL> import sys <EOL> logging . basicConfig ( level = logging . ERROR ) <EOL> self_dir = os . path . abspath ( os . path . dirname ( __file__ ) ) <EOL> top_dir = os . path . abspath ( <EOL> os . path . join ( self_dir , os . pardir , os . pardir , os . pardir ) ) <EOL> example_dir = os . path . abspath ( os . path . join ( self_dir , os . pardir ) ) <EOL> sys . path . insert ( <NUM_LIT:0> , top_dir ) <EOL> sys . path . insert ( <NUM_LIT:0> , self_dir ) <EOL> sys . path . insert ( <NUM_LIT:0> , example_dir ) <EOL> import taskflow . engines <EOL> import example_utils <EOL> import my_flows <EOL> with example_utils . get_backend ( ) as backend : <EOL> engine = taskflow . engines . load_from_factory ( my_flows . flow_factory , <EOL> backend = backend ) <EOL> print ( '<STR_LIT>' % ( engine . storage . flow_name , <EOL> engine . storage . flow_uuid ) ) <EOL> engine . run ( ) </s>
