ocl.cli._config
ConfigDefinedLambda
Lambda function defined in the config.
This allows lambda functions defined in the config to be pickled.
Source code in ocl/cli/_config.py
lambda_string_to_function
Convert string of the form "lambda x: x" into a callable Python function.
Source code in ocl/cli/_config.py
slice_string
Split a string according to a split_char and slice.
If the output contains more than one element, join these using the split char again.