<s> """<STR_LIT:U+0020>""" <EOL> from pulsar . client . action_mapper import from_dict <EOL> import logging <EOL> log = logging . getLogger ( __name__ ) <EOL> def preprocess ( job_directory , setup_actions , action_executor ) : <EOL> for setup_action in setup_actions : <EOL> name = setup_action [ "<STR_LIT:name>" ] <EOL> input_type = setup_action [ "<STR_LIT:type>" ] <EOL> action = from_dict ( setup_action [ "<STR_LIT:action>" ] ) <EOL> path = job_directory . calculate_path ( name , input_type ) <EOL> description = "<STR_LIT>" % ( input_type , name , action , path ) <EOL> log . debug ( description ) <EOL> action_executor . execute ( lambda : action . write_to_path ( path ) , "<STR_LIT>" % description ) <EOL> __all__ = [ '<STR_LIT>' ] </s>
