def run_transform(transform, value, fields, params, project, config): with PushDir(project.src_dir): local_transform_runner(transform, value, fields, params, config, message)
def run_transform(opts): set_canari_mode(CanariMode.LocalDispatch) with PushDir(CanariProject().src_dir): local_transform_runner(opts.transform, opts.value, opts.fields, opts.params, load_config(), message)
def debug_transform(opts): set_canari_mode(CanariMode.LocalDebug) with PushDir(CanariProject().src_dir): local_transform_runner(opts.transform, opts.value, opts.fields, opts.params, load_config(), console_writer)
def debug_transform(transform, value, fields, params, project, config): with PushDir(project.src_dir): local_transform_runner(transform, value, fields, params, config, console_writer)