rex.utilities.fun_utils.arg_to_str

arg_to_str(arg)[source]

Format input as str w/ appropriate quote types for python call

Returns:

out (str) – String rep of the input arg with proper quotation for formatting in python -c ‘{commands}’ cli calls. For example, int, float, None -> ‘0’ str -> “string”