Skip to main content

fused run

Run a UDF and print the result.

fused run CANVAS [UDF] [OPTIONS]

Options

FlagDescription
--engine [remote|local]Execution engine to use.
--instance_type, --instance-type TEXTRemote instance type override.
--max_retry, --max-retry INTEGERMaximum retry attempts for failed runs. (default: 0)
--cache_max_age, --cache-max-age TEXTMaximum cache age duration (for example 10s, 5m, 1h).
--cache / --no-cacheEnable or disable result cache usage. (default: True)
--disk_size_gb, --disk-size-gb INTEGERDisk size in GB for supported remote runtimes.
--stdinRead UDF source code from standard input (same as passing multiline code to fused.load).
--verbose / --no-verboseShow UDF stdout/stderr from the runtime (default: on). (default: True)
--profile / --no-profileCollect and print lineprofile timings annotated against UDF source.
--output_file, --output-file FILENAMEWrite the result to a file.